If a number is tripled and then subtracted from 28, the result is 3 more than twice the number. What is the number?

A)x=5
B)x=31
C)x=6
D)x=4