If 5 times the first number plus three times the second number equals 47, and 10 times the first number minus 4 times the second number equals 54, what are the numbers?