It is always better to consider the offenders' score first, as that will tell you whether there is any damage in the first place. Law 12B tells us that:
Quote
Damage exists when, because of an infraction, an innocent side obtains a table result less favourable than would have been the expectation had the infraction not occurred
Let says that a top is 20MPs and that at the table E/W played in 6
♦x-2 for 20MPs to N/S, none for E/W.
Using, Bluejak's estimates of the probabilities of the various outcomes, you compute the matchpoints of the potential adjustment as follows:
40% of MP (3NT -2)
+ 30% of MP (3♦ +1)
+ 10% of MP (3♦ +2)
+ 10% of MP (4♠ =)
+ 10% of MP (4♠ +1)
where MP(...) signifies the matchpoints from the particular result.
Let's say this works out at 6MPs for N/S. This will be the score for the offending side (unless their result from the table score was worse, which is clearly not the case here).
E/W would normally receive the complement of this score, in this case [20-6] = 14MPs.
However, if 6
♦ is judged to be a SEWoG action, E/W do not "receive relief in the adjustment for such part of the damage as is self-inflicted". In order to calculate this, we need to decide on E/W's expected score after the infraction has been committed but without the SEWoG action.
According to Bluejak's assessment, 3
♦ would make 10 tricks most of the time, 11 the rest of time so to be consistent we compute:
75% of MP (3♦ +1)
+ 25% of MP (3♦ +2)
Let say: that this would give E/W 8 MPs.
So the part of the damage which is self-inflicted is the difference between what they might have got just before the SEWoG action and the table result 8MPs-0MPs= 8 MPs.
Because of the SEWoG action, the E/W assigned score is therefore their normal assigned score [14MPs] less the self-inflicted damage of 8 MPs, i.e. E/W end up with a final score of 6MPs. This is better than their table score so 6MPs is what E/W should get.
As you can see it is not necessarily correct to just give E/W their table score.
This calculation may seem complicated, but the saving grace for TDs, ACs and scorers is that 'wild or gambling' actions and serious errors are by definition very rare: unless weighted scores are disenabled, 99% of the time the TD should just be giving the same adjustment to both sides.