Trig functions relate the sides and angles in a right triangle. Here, we're given an angle and an adjacent side, and we're asked to find the hypotenuse. The relevant trig relation is ...
Answer: No the students work is not correct. Because you are using distribution. Which means that 3 has to multiply the y2 and 2 not just the y2! And after you distribute it you need to simplify!