You can put this solution on YOUR website! Could you please re-write your fraction?
Don't try to make it visually appealing.
Use parentheses to remove any doubts.
Example,
w/(5+w)=
(1+4/(w+1))=
Did you mean like this?
(w/(5+w))/(1+4/(w+1))=
OK Here goes!
.
.
.
Dividing by a fraction is the same as multiplying by it's reciprocal.