building codes in many earthquake prone areas require homes and apartments to be designed to withstand a ________ richter magnitude quake.