how do you solve the fowllowing question 6+(2x-7) fraction 2 over 3 =31

If you mean

[6 + (2x-7)/2]/3 = 31
then just start unwinding the operations:
6 + (2x-7)/2 = 93
(2x-7)/2 = 87
2x-7 = 174
2x = 181
x = 181/2

If I got the expression wrong, fix it and do similar steps.