Rewrite the given equation using the substitutions x=rcos(theta) and y=rsin(theta). Simplify your answer.