You can put this solution on YOUR website! Let the original price paid be x.
The actual price paid will be 100% of the original value plus an extra 6% ie he paid 106% of x.
So 106% of x = $318
106x / 100 = $318
Multiply both sides of the equation by 100/106
x = 100/106 times $318
= $300