Help me in solving CPRACMCQ11 problem

My issue

both girls are rolled dice

Learning course: Practice C
Problem Link: CodeChef: Practical coding for everyone

@tusharjangid7
yes they both are rolling simultaneously