1983 AIME Problem 5

Suppose that the sum of the squares of two complex numbers x and y is 7 and the sum of their cubes is 10 . What is the largest real value that x+y can have?