The measure of one of the small angles of a right triangle is 26 more than 3 times the measure of the other small angle. find the measure of both angles.