A hyperbola of the form

has asymptotes with equation and passes through the point (a,0). Find an equation of the hyperbola in terms of x, y, a and m.

Ans:

A point P on this hyperbola is equidistant from one of its asymptoes and the x-axis. Prove that, for all values of m, P lies on the curve with equation

Stuck here please help.