Query about Question 16 from "PrepSwift Quant Tickbox Quiz #4 (Algebra Column 1)" [6473]

https://prepswift.gregmat.com/quizzes/quiz/prepswift-quant-tickbox-quiz-4-algebra-column-1 (Question 16)


If we solve both sides without simplifying the quantity A to a mod. The left side equals right side for x=-2 then why is the correct answer D?

Try x= -6