The legs of a right triangle measure 12 in. and 16 in. Each side is decreased by the same length, resulting in an area of 45 in². Write a quadratic equation to model and solve the problem. What is the amount by which each side was decreased? Enter your answer, rounded to the nearest tenth, in the box.