Answer:
The molecular formula of the ionic compound will be
.
Step-by-step explanation:
The ratio of Na to O is 2:1
This means that for every two atoms of sodium there are 1 atom of oxygen.Then the molecular formula will be:
Let the number of sodium atom be 2x and oxygen atom be x

The molecular formula of the ionic compound will be
.