Worked solution
Recall (or derive) the standard centre-of-mass result
This result comes from the centre-of-mass integral for the solid.
Substitute the given dimension
Putting in the stated length gives the numerical position.
State the distance of the centre of mass
This is the required distance from the stated point.