According to the profit equations given, it is found that since the number of days has to be a positive value, hence the viable answer is that they earn the same profit after 3 days, while the nonviable answer is -4.
For the first friend, it is:
[tex]P(x) = -x^2 + 5x + 12[/tex]
For the second, it is:
[tex]Q(x) = 6x[/tex].
The system we solve to find when they earn the same profit is given by:
[tex]P(x) = Q(x)[/tex]
[tex]-x^2 + 5x + 12 = 6x[/tex]
[tex]x^2 + x - 12 = 0[/tex]
Which is a quadratic equation with coefficients a = 1, b = 1, c = -12. Hence:
[tex]\Delta = b^2 - 4ac = 1^2 - 4(1)(-12) = 49[/tex]
[tex]x_1 = \frac{-b + \sqrt{\Delta}}{2a} = \frac{-1 + 7}{2} = 3[/tex]
[tex]x_2 = \frac{-b - \sqrt{\Delta}}{2a} = \frac{-1 - 7}{2} = -4[/tex]
The number of days has to be a positive value, hence the viable answer is that they earn the same profit after 3 days, while the nonviable answer is -4.
More can be learned about a system of equations at https://brainly.com/question/24342899