A solid has a structure in which W atoms are located at the corners of a cubic lattice, O atoms are at the center of face edges and Na atoms are at the center of the cube. The formula of the compound is:
Number of 'W' atoms = 8 x 1/8 = 1 (since these are at the corners)
Number of 'O' atoms = 12 x 1/4 = 3 (because 'O' atoms are at the centers of face edges)
Number of 'Na' atoms = 1 x 1 = 1 (The Na atom is at the center of the cube).
The formula of the compound is NaWO3.