Easy
Let the numbers be x,y with xy=616. Expand the cube of the difference using (x−y)3=x3−y3−3xy(x−y), plug the given ratio in, and the common factor (x−y) cancels. A small "add xy" trick then turns x2+y2+xy into the perfect square (x+y)2.
1
Set up the given relations. Product and ratio of (difference of cubes) to (cube of difference).
xy=616⇒ (x−y)3x3−y3=3157(given ratio)
2
Expand the denominator. Use the identity for (x−y)3 and substitute.
(x−y)3=x3−y3−3xy(x−y)⇒ 3(x3−y3)=157[(x3−y3)−3xy(x−y)](cross-multiply)⇒ 154(x3−y3)=3⋅157⋅xy(x−y)(collect x3−y3)
3
Use xy=616 and cancel (x−y). Factor x3−y3=(x−y)(x2+y2+xy).
154(x−y)(x2+y2+xy)=3⋅157⋅616(x−y)(from step 1)⇒ 154(x2+y2+xy)=290136(x=y, cancel (x−y))⇒ x2+y2+xy=1884
4
Complete the square. Add one more xy to both sides to build (x+y)2.
x2+y2+2xy=1884+xy=1884+616(add xy=616)⇒ (x+y)2=2500⇒ x+y=50