In the expansion of (x+y)n, using the Newton binomial formula, the second term was 240, the third – 720, and the fourth – 1080. Find x, y and n.