The variable y represents the larger number, and the variable x represents the smaller number.
If the larger number is double the sum of 3 and the smaller number, we have the equation:

Then, if the larger number is 2 less than 3 times the smaller number, we have:
