Actually, my previous response was wrong (I got confused). It would be correct if it was 30 Buy to Open and 15 Sell to Close.
User A does 30 Buy to Open - market maker let's say has no position currently so he has to do corresponding 30 Sell to Open - 30 contracts are created and added to Open...