Hannah and Sam are working on a coding project together. Hannah has created 7x+78 lines of code, and Sam has written 6x + 73 lines of code. Hannah has written 142 more lines of code then sam. find the value of x

Respuesta :

Answer:

x = 137

Step-by-step explanation:

To find the value of x you must first set up an equation to solve for x. We are told that Hannah has written 142 more lines than Sam so we can make an equation by subtracting Sam's total from Hannah's total.

(7x + 78) - (6x + 73) = 142

Hannah - Sam = Difference

We then begin to solve. First we must distribute the subtraction to all parts of Sam's equation, creating a new equation of:

7x + 78 - 6x - 73 = 142

Then put like terms together

7x - 6x + 78 - 73 = 142

7x - 6x = x

78-73 = 5

x + 5 = 142

Then isolate the x by subtracting the 5.

x + 5 (-5)= 142 (-5)

x = 137

Then plug it back into the equation to check and see if your x is correct

(7x + 78) - (6x + 73) = 142

(7(137) + 78) - (6(137) + 73) = 142

(959 + 78) - (822 + 73) = 142

(1037) - (895) = 142

MARK ME BRAINLIEST PLEASE ❤️