Okay, here we have this:
Considering the provided polar equation, we are going to convert it to a rectangular equation, so we obtain the following:
Start by multiplying both sides by r.

Remember that r²=x²+y²:

Keep in mind that y=rsinθ:

And finally we complete the square:

The last equation is the rectangular equation we were looking for.