There students Matthew,Thomson and Amos shared 15000 in the ratio 5:2:x respectively.If Matthew's share is 7500 calculate the value of x