One number added to three times another number is 24. Five times the first number added to three times the other number is 36 find the numbers.