y is directly proportional to x ^2 . If y = 45 when x = 3 find x when y = 180