Two elements, P and Q with atomic numbers 11 and 8 respectively , combine chemically…