I am infering from your question that you want to convert from cartesian to polar coordinates.
If this is the case, the basic formulae you need are:
r = √ (x2 + y2)
θ = atan( y / x )
Where r is the distance and θ is the angle from x = 0 (about the origin)
Does this help?