Crystal structures can not be predicted only on the basis of formula given. You can find out the crystal structures when ionic radii of the elements are given.
The crystal structure and coordination number can be find out by radius ratio.
Radius ratio is the ratio of radius of cation to the radius of anion.
r = r+/r-