Surface area of square pyramid having square base side = 10 cm and slant height = 20 cm is 340 square meters
Solution:
Given that 
Shape of the roof is square pyramid. 
Base length of square pyramid roof = 10 meters 
Slant height of square pyramid roof = 12 meters 
Need to calculate the surface area of the roof 

Where s is side of square base and l is slant height. 
In our case s = 10 meters and l = 12 meters 
On substituting the given values in formula we get 
Surface area of square pyramid 

Hence surface area of square pyramid having square base side = 10 cm and slant height = 20 cm is 340 square meters.