((rcos(theta))^3+(rsin(theta))^3+3(rsin(theta))(rcos(theta))+3) solve for r