Putting y=mx, the given equations can be written as x3(1−m3)=127 .(1)
and x3(m−m2)=42 (2)
Dividing, we get
1−m3m−m2=12742 or 1+m+m2m=12742
or 42m2−85m+42=0
or 42m2−49m−36m+42=0
or (6m−7)(7m−6)=0.
∴m=7/6 or 6/7.
We first take m=7/6 and we get from (1)
x3(1−343/216)=127 or x=−6
and y=mx=76(−6)=−7.
Similarly taking m=6/7, we shall get x=7, y=6.
Hence solutions are
x=7,y=6 or x=−6,y=−7.
Alternative method:
Multiply the second equation by (3) and subtract it from first and we get
(x−y)3=1, ∴x−y=1 or x=y+1
Putting in 2nd equation, i.e., xy(x−y)=42, we get
y(y+1)⋅1=42 or y2+y−42=0
∴y=−7,6 and hence x=−6,7
∴(7,6);(−6,−7).