On a snow day, Brooklyn created two snowmen in her backyard. Snowman A was built to a height of 37 inches and Snowman B was built to a height of 49 inches. The next day, the temperature increased and both snowmen began to melt. At sunrise, Snowman A's height decrease by 5 inches per hour and Snowman B's height decreased by 8 inches per hour. Let AA represent the height of Snowman A tt hours after sunrise and let BB represent the height of Snowman B tt hours after sunrise. Write an equation for each situation, in terms of t, commat, and determine the interval of time, t, commat, when Snowman A is taller than Snowman B.