I have having trouble understanding how to break this problem apart.
I have an $ L$ shape with a rectangle in it.
The smaller rectangle has a side of $5 m$ and a side of $7 m$, the $L$ shape has an area of $6.25m^2$
I can work out the total area for both but not how to use the area to calculate the perimeter of the $L$ shape when no sides length or width are know.

Ok so my mate Ryan showed me the way.
$A=lw$
$A=(5+w)(7+w)$
$A=(5+x)(7+x)$
$A=5*7+x*7+5*x+x*x$
$A=35+7x+5x+x^2$
$A=x^2+12x+35=41.25m^2$
That is the total area $A_F = A_T - A_S = 41.25 - 35 = 6.25$
$A=x_2+12x=6.25$
$A=x_2+12x-6.25=0$ Plug that into a grapher x = 0.5m
That gives me the sides and the question is answered.
Thanks for all the help from everyone it was more me not being able to express my question properly