59 is a tough bird to deal with; its only factors are 1 and 59.
Thus, forget about factoring. Instead, use the quadratic formula, or solve the equation by completing the square.
Please note: x2 is ambiguous. Please write x^2 to indicate "the square of 2."
Here you have 1x^2 - 12x + 59 = 0, for which a=1, b=-12 and c=59.
Use the quadratic formula: x=[-b plus or minus sqrt(b^2-4ac)] / (2a)
to find the two roots. Notice that the "discriminant" b^2 - 4ac will be negative, meaning that your two roots will be "complex."
1. <span>Multiply both sides by </span>6<span> (the LCM of </span><span>2, 3,</span><span>)
3w + 42 = 2w + 54
</span>2. Subtract 42 from both sides
3w = 2w + 54 - 42
3. <span>Simplify 2w + 54 - 42 to 2w + 12
3w = 2w + 12
4. </span><span>Subtract 2w from both sides
3w - 2w = 12
5. </span><span>Simplify 3w - 2w to w
w=12
Your answer is 12</span>
Substitute x for 7.
f(x)=22x+12
f(7)=22(7)+12
Multiply first, then complete addition.
f(7)=154+12
f(7)=166
If your friend now has 18 that means you had 48, as mentioned above, you had given half of your tokens, half of 48 is 24. =24