How do I solve the following problem?

Convert the polar equation to rectangular coordinates (Use variables x and y as needed)
#r = 3/(1-costheta)#