Let’s use h for Hayley and s for Shelly.
Hayley has 3 more than 2 times as many Math problems for homework as Shelly. This part of the problem translates into this:
Together they have 33 problems for homework. This part of the question translates into this:
How many problems did Haley have for homework? This part of the question translates into this:
Niw we know Shelly had 10 problems, and if they had 33 together, Haley had 23 (33-10).