Write as a Function of r r=6cos(theta)