I'm really confused about this basic volumes question. The question asks: "Find the volume of the solid obtained by rotating the region bounded by the given curves about the specified line."

x = y^2, x = 1; about x = 1

How do you find the volume if the curve is rotated around a line other than the y or x axis? In this question, but also in general?