So i have a tricky question in my take-home intermediate algebra test, but i dont kno if its worded strangely or what... anyway if you could help me out that would be great.

Note: ONLY ANSWER IF you for sure know how to do the problem, because this counts towards my grade.. thanks in advance.

Question:

y varies jointly as m and the square of n, and inversely as p. y=15 when m=2, n=1, and p=6. Find y when m=3, n=4, and p=10.