Earth would rapidly crumble into a hot, spherical object.
Gravity would not permit a sustained triangular shape. Nor a pyramid. Nor square.
Spherical. Gravity curves things toward the center. The points of a pyramid/triangle would fall toward the flat sides, nearest the masses center.
It would be hot because of the impact of matter falling violently toward its rest.