I'm not sure what you did...but make sure you:

Let m = 360...which is 12 months x 30 years. The loan will be paid off over 360 months (a ridiculous loan).

Let r = 0.005. The question says 6% fixed annual rate. So thats 0.005 monthly (0.06/12 = 0.005).