The side length of the base of the model is 2626 cm. The height is 2828 cm. What is the slant height of the model​ pyramid?

I assume this is a square pyramid?

Draw a side view. If the slant height is s,
s^2 = (2626/2)^2 + 2828^2

If it's some other polygon for the base, then if the apothem is a,
s^2 = a^2 + 2828^2