The sum of two numbers is 39. The second number is 3 more than three times the first number. Let x represent the first number and let y represent the second number. What is the value of the first number?

The first number is equal to 7.