First, you have the wrong bounds of integration. Second, you are integrating with respect to x instead of y. Try drawing the two graphs on a piece of paper and look carefully at the situation.

has intersection points . So the integral is . Multiplying this result by the constant density does indeed get you a correct answer.