Twenty girls and y boys sat on an examination. The mean marks obtained by the…