multiply

0.5(a+b-5)
would the correctanswer
0.5a=0.5b-2.5

It would help if you proofread your questions before you posted them. Where did the equal sign come from?

0.5(a+b-5) = .5a + .5b - 2.5