Can i get some help on this, its scary modules

A roll of quarters contains 40 quarters and a roll of dimes contains 50 dimes. James has a jar that contains 83 quarters and 159 dimes. Lindsay has a jar that contains 129 quarters and 266 dimes. James and Lindsay pool these quarters and dimes and make complete rolls with as many of the coins as possible. In dollars, how much are the leftover quarters and dimes worth?

Thank you for the help in advance, ive been trying to figure out these problems for past 3 hours and wanted to ask for help

Skripple Aug 6, 2021