How do you change the polar equation r(2+costheta)=1 into rectangular form?