Re-write the equations this way:
x2(x+y) = 20 and
y2(x+y) = 45
If x+y ≠ 0 and neither x nor y is 0, then
20/x2 = 45/y2 (because they are both equal to x + y)
y2 = 9x2/4 => x =±3x/2
Substitute in the first equation:
x3 ± 3x3/2 = 20
The minus sign doesn't work in this problem...gives a negative answer
5x3/2 = 20 => x3 = 40/5 = 8
x = 2 and y = 3x/2 = 3
Substitute these answers into the original equations to make sure they are correct.