How to find locus of a point using parametric equations