How do you write the polar equation #r=3costheta# in rectangular form?