Question 943288
x, side length of the square
w, width of the rectangle
L, length of the rectangle


List all the facts:
{{{system(x^2=wL,L=5+2x,w=-6+x)}}}


You can solve the whole system.  Simple substitutions will bring you quickly near to what you are asked.