Find the points on the given curve where the tangent line is horizontal or vertical.
r = 3cos(theta)
r = 3cos(theta)