The larger of two numbers is one more than 3 times the smaller. Eight times the smaller decreased by
twice the larger is 10. Find the numbers.