The Demand Function

https://i.imgur.com/bvbY1G9.png

I do not understand how you get these figures 12 - 0.80

As they say, simply use algebra:

Q = 15 − 1.25P

Q + 1.25P = 15

1.25P = 15 − Q

P = (15/1.25) – (Q/1.25) = 12 – 0.8Q

thanks! can you help me with the supply function as well?

I could if it were posted.