Answer
The x coordinate of the center of mass is $~~20~cm$
Work Step by Step
By symmetry, the x coordinate of the center of mass is $\frac{L}{2}$
We can find the x coordinate of the center of mass:
$x_{com} = \frac{L}{2} = \frac{40~cm}{2} = 20~cm$
The x coordinate of the center of mass is $~~20~cm$.