Yes, you can use polar coordinates.
What your professor told you to use is the change of variables formula, by setting x = r sin(theta), etc. This defines a transformation from xyz space to r-theta-z space - thus the integral over, say, a cylinder in xyz space is equal to the integral over a box in r-theta-z space. The integral in r-theta-z space uses cartesian coordinates in that space.
Or in other words, the integral in terms of angles and radii (polar coords) becomes an integral in terms of cartesian coords.