When we build a house or building we must take many factors into account, one of the most important in…