The product of two positive numbers is 588. Minimize the sum of the first and three times the second.