((rcos(theta))%5E3%2B(rsin(theta))%5E3%2B3(rsin(theta))(rcos(theta))%2B3) solve for r