Since we have the following:
And:
Those represent the payment of each musician [A and B], In order to know when they will be paid the same, we proceed as follows:
Then, we solve for h:
From this, we can tell that after 7 hours of work they both will be paid the same ammount.