The equation in mathematics is used to help you solve the problem. With equations, you can solve problems easily. Equation, in mathematics, is the form of the values that you want to find.
Assume the number of years be y
Then, the equation will be:
Company A = $45,000 + ($1,000 × y)
Company A = $45,000 + $1,000y
Company B = $40,000 + ($1,200 × y)
Company B = $40,000 + $1,200y
Collect them to become one equation:
$45,000 + $1,000y = $40,000 + $1,200y
Collect like terms
$45,000 - $40,000 = $1,200y- $1,000y
5000y = 200
y = 5000/200
y = 25.
The number of years will be 25 years
b. The salary will be:
= $45,000 + $1,000y
= $45,000 + $1,000 (25)
= $45,000 + $25,000y
= $70,000
The salary is $70,000
Learn more about equation here, https://brainly.com/question/971537
#SPJ4