Yes it can be in fractions and in decimals
Hello!

Use the slope formula to solve for the slope of the line (m):

We can plug in the points (0, 4) and (1, 1) to solve:

Therefore, the slope of the line is -3.
The formula of the present value of annuity due:
![PV=C*[\frac{1-(1+i)^{-n}}{i}]*(1+i)](https://tex.z-dn.net/?f=PV%3DC%2A%5B%5Cfrac%7B1-%281%2Bi%29%5E%7B-n%7D%7D%7Bi%7D%5D%2A%281%2Bi%29)
For your case:
C = $3000
i = 12% / 100 = 0.12
n = 3 * 2 = 6 (semiannually for 3 years means 6 payments)
So, the solution is:
![PV=3000*[\frac{1-(1+0.12)^{-6}}{0.12}]*(1+0.12)=3000*[\frac{1-0.5066}{0.12}]*1.12=](https://tex.z-dn.net/?f=PV%3D3000%2A%5B%5Cfrac%7B1-%281%2B0.12%29%5E%7B-6%7D%7D%7B0.12%7D%5D%2A%281%2B0.12%29%3D3000%2A%5B%5Cfrac%7B1-0.5066%7D%7B0.12%7D%5D%2A1.12%3D)

Y is the total price. X is the number of months. 30 is a flat, one time payment.
(x + 2)(x - 5)(x - 8)
Substitute them into each other to get the whole equation)