The expression 3(x+5)+(2x−7) can be written in the form ax+b, where a and b are constants. What is the value of a?
1
2
5
8