Two times one number added to three times a second number is 21.

The second number is ten less than five times the first number.

Write a system of equations to model this situation and solve.