Simplify each term.

Apply the distributive property.

Multiply by .

Subtract from .

Subtract from both sides of the equation.

Subtract from .

Divide each term in by .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Divide by .

Solve for g 3g-6(g-8)=42