We can define the number of units as x
With the info given we can calculate the price for the first 50 units like this:
[tex]P=0.8\cdot50=40[/tex]Now for the next 50 units we have this:
[tex]P2=0.9\cdot50=45[/tex]And finally for the price units over 100 we have:
[tex]P3=0.95(x-100)[/tex]And then the total price would be:
[tex]PF=P+P2+P3[/tex]And replacing we got:
[tex]PF=40+45+0.95(x-100)[/tex]And we can simplify and we got:
[tex]PF=85+0.95x-95[/tex][tex]PF=0.95x-10[/tex]