first you need to understand bonus shares are always assumed to be there from the start of the period till the end i.e 12 months. second, the bonus issue came after full issue means they were given bonus after the addition of 4 million shares which stayed for 9 months from issuing. So the computation is fine i.e 1/3*18,000,000.