HELP!!!!

When Jackson moved into a new house, he planted two trees in his backyard. At the time of planting, Tree A was 24 inches tall and Tree B was 36 inches tall. Each year thereafter, Tree A grew by 10 inches per year and Tree B grew by 7 inches per year. Let A represent the height of Tree A t years after being planted and let B represent the height of Tree B t years after being planted. Write an equation for each situation, in terms of t, and determine the height of both trees at the time when they have an equal height.