James is y years old now, and the sum of his age and his brother's
age is 10. 3 years ago, James's brother was three times older than James. Use this to write an equation.