This is pretty straightforward, using the basic rules for converting between polar and rectangular: x = r*cos(t), y = r*sin(t)>
Substitute those polar expressions for x and y, then solve for r:
It looks strange, when you first start learning about polar coordinates, because the equation of a straight line in rectangular coordinates is so simple.
But yes, that is what the equation of a straight line looks like in polar coordinates.