You must have already executed all the definitions above in the solution (pointP, pointQ, etc.) first.