We know that the girl works three out of five days, this means that she works 3/5 of the work; meanwhile the boy works two out of five days, then he works 2/5 of the total work.
To determine the amount each of them earn anually we multiply the fraction they work by the total salary:

Therefore the girls earns $17,197.2 and the boy earns $11464.8