7x = 42

Divide both sides by 7

https://www.jiskha.com/questions/1800914/solve-7x-42-show-your-work-help-plz

after that then what

Please post what you get when you divide both sides by 7.

1 and 6

What happened to x???

Don't you mean?
x = 6

yes