How can I draw a structural formula showing multiple crystals synthesized together in proportion and calculate its bandgap?

I will now calculate the bandgap for a crystal. My idea is to expand the existing crystal structure (since the crystal structures I want to draw are quite similar) and replace the desired elements. I'm unsure if this approach is feasible. The first image shows the structure without element modifications, while the second image shows the structure after element modifications.