You solve for x
start by expanding the (3x-7)²
12 = 2(3x - 7)(3x - 7) + 4
12 = 2(9x² - 42x + 49) + 4
multiply the 2 through
12 = 18x² - 84x + 98 + 4
combine all like terms, set equal to zero
18x² - 84x + 102 - 12 = 0
18x² - 84x + 90 = 0
use the quadratic equation

Where
a = 18
b = -84
c = 90
then x = 3 and 5/3