I WILL GIVE BRAINLIEST JUST HELP PLZZ

The lateral area of a pyramid with a square base is 2320 in. Its base edges are 40 in long. Find the height of the pyramid.