Noting that square A is a square, this is what we have:
A = B
A^2 = B x (B + 4) + 20
I can try subbing in A to B
since A = B:
A^2 = A x (A + 4) + 20
20 = A^2 - (A x (A + 4))
20 = A^2 - (A^2 + 4A)
20 = 4A
A = 5
By the way, A is width of square A and B is the width of rectangle B in my solution,