[tex]3 (x - 1) = 5 + 7x\\\\3x-3=5+7x\\\\3x-7x=5+3\\\\-4x=8\ \ |:(-4)\\\\x=-2\\\\a)\\\\7x^2 - (5 + x)(5 + 7x) =0 \\\\7x^2-(25+35x+5x+7x^2)=0[/tex]
[tex]7x^2- 25-35x-5x-7x^2 =0\\\\ -40x=25\ \ |:(-40)\\\\x=-\frac{25}{40}=-\frac{5}{8}\\\\b)\\\\ (x - 3)(8x + 1)- 7x =(2x - 5)(4x + 2) \\\\8x^2+x-24x-3-7x=8x^2+4x-20x-10\\\\8x^2+x-31x-3 =8x^2-16x-10\\\\8x^2+x-31x-3 -8x^2+16x+10=0[/tex]
[tex]-14x+7=0 \\\\-14x=-7\ \ |:(-14)\\\\x=\frac{7}{14}=\frac{1}{2}[/tex]