Was there no marriage date showing on the birth entry for your mum? It may be that they didn't marry.... Was mother's name Margaret showing as Margaret Janet Gray, maiden surname (m.s.) Petrie or simply Margaret Jane Petrie?
There is a marriage showing on Scotlands People for a couple with these names, but too late, by long way, to be yours mum's parents.
Monica