Answer:
We have the problem:
"Clare is in charge of getting snacks for a road trip with her friends and her dog. She has
$35 to go to the store to get some supplies. The snacks for herself and her friends cost
$3.25 each, and her dog's snacks costs $9 each."
In this situation we have two variables:
X = number of snacks for herself and her friends that she buys. Each one of these costs $3.50
Y = number of snacks for her dog that she buys. Each one of these costs $9.
The total cost, in this case, can be written as:
X*$3.50 + Y*$9
And we know that she has $35 to spend, so she can spend $35 or less in the store, then we have the inequality:
X*$3.50 + Y*$9 ≤ $35
Where we defined all the quantities in the inequality.
Let the solutions be a and b.
a = -2; b = -10
a + b = -2 + (-10) = -12
ab = (-2)(-10) = 20
(x - a)(x - b) = 0
(x - (-2))(x - (-10)) = 0
(x + 2)(x + 10) = 0
x^2 + 10x + 2x + 20 = 0
x^2 + 12x + 20 = 0
-h = 12
h = -12
4k = 20
k = 5
(X-3)(X+1)=0
X-3=0
X=3
X+1=0
X=-1