Since we have the following:
[tex]A\colon p=20h+70[/tex]And:
[tex]B\colon p=10h+140[/tex]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:
[tex]20h+70=10h+140[/tex]Then, we solve for h:
[tex]\Rightarrow20h-10h=140-70\Rightarrow10h=70\Rightarrow h=7[/tex]From this, we can tell that after 7 hours of work they both will be paid the same ammount.