Got a problem here dealing with finding the centre of mass which I'm a bit stuck on.

A uniform lamina of mass m is bounded by the curve with equation

and that part of the x-axis between and , where a is a positive constant. You are given that the area of the lamina is . By considering thin strips of thickness parallel to find the position of the centre of mass of the lamina.

For the coordinate:

This is because the mass of the strip would be multiplied by the height, . The distance from the origin would then be , giving us the above equation.

So after working out the integral we're left with:

which I believe is right?

However when I come to work out the coordinate it get's a bit confusing.

As far as I'm aware, the right hand side of the equation should be the integral of the mass multiplied by the distance from your origin, over the integral of the range of masses? This is how I proceeded with the first equation. This is what I get:

Which simplifies to:

This is because the mass of the strip would again be , and the distance from the origin in the direction would be , giving us the above equation.

However in the answers provided, they have the integral as:

I'm just not sure where that has come from?

Thanks in advance for your help