Not enough information here.
Assuming the base thrust vector is along the positive z axis,
x=r\ sin\,\theta\ cos\,\phi
y=r\ sin\,\theta\ sin\,\phi
θ being the angle between the z axis and the rz plane (pitch) and φ being the angle between the x axis the the projection of r...