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