The measure of one of the small angles of a right triangle is 45 less than twice the measure of the other small angle. Find the measure of both angles. ​