Centerx would be the x of the object you want it to stay at, angle would be the angle of that object as well. Distance would be how far that image point is from centerx.
Same goes for y, just use sin for angle.
I suppose you could store distance in a variable to be able to change that easily.