Mr.jones bought a share of a stock at the cost of x dollars. This year his stock is 17 dollars,which is five more than triple the original price.how much did mr.jones pay for the stock originally?

3x + 5 = 17

3x = 12

x = 4