I have an equation that calculates the distance between two coordinates on Earth. The problem is, I need to rewrite this equation to solve for a different variable.

D=Distance in feet

X=Person's longitude

Y=Person's latitude

A=Some place's longitude

B=Some place's latitude

D=5280*(SQRT( (69.1*(B-Y))^2 + (69.1*(A-X)*COS(Y/57.3)) ))

How can I rearrange this equation to solve for A not D?

Thanks