You can do many things.
plug into google
normal calculator (Change x to 6)
or plug the EXACT problem (including the (x=6) into https://mathpapa.com/algebra-calculator.html ( algebraic calculator )