What type of bond exits between an element X with atomic number 12 and Y…