r=12/2+6cos(theta)
Multiply through by (2 + 6cos#): r(2 + 6cos#) = 12
2r + 6rcos# = 12
Now make use of the identities x = rcos#, r^2 = x^2 + y^2
r=3/2-2sin(theta)
Again, multiply through by (2 - 2sin#): r(2 - 2sin#) = 3
2r - 2rsin# = 3
Now make use of the identities y = rsin#, r^2 = x^2 + y^2
r=12/6-2sin(theta-pie/3)
Multiply through by (6 - 2sin(#-{pi/3})): r(6 - 2sin(#-{pi/3})) = 12
6r - 2rsin(# - pi/3) = 12
Expand sin(# - pi/3) using the formula for sin(A - B), a compound angle formula.
Also, use the identity y = rsin#, r^2 = x^2 + y^2