Let's define some notation first.
M = amount of money for Maya. L= amount of money for Lucy
We also know that Lucy receives three dollar bills and 5 coins and Maya receive 7 dollar bills and 4coins. by the way we also know that the coins each girl receive have the same value
Since both have the same amount of money we have this:
From the second condition we have this:
Now we can replace equations (2) and (3) into equation (1) and we got:
And now we can solve for the value of c
Then we can see that the value for each of the cins is 4