The perimeter of Dawna's new flat screen television is 112 inches. The ratio of its length to width is 4:3. Write and solve an algebraic equation to determine the dimensions of the television.