For first segment (horizontal top bar of mass 2m):
x1=L,y1=L
For second segment (vertical bar of mass m):
x2=2L,y2=2L
For third segment (horizontal bottom bar of mass m):
x3=25L,y3=0
Net center of mass coordinates:
xcm=2m+m+m2m(L)+m(2L)+m(25L)=813L
ycm=2m+m+m2m(L)+m(2L)+m(0)=85L