Hello Ecstasy,
I have read the document. I understand that the example on page 4 has nothing to do with the examples stated earlier in the text. You are right, if you take the numbers from table 1 for firm1 the margin would be 7%, but on page 4 they simple are not continuing the example but stating a new one.