The value of x is
and

Step-by-step explanation:
The expression is

Multiplying the term x withing the bracket, we get,

Grouping the terms, we have,

Taking out the common terms in each bracket, we get,

Simplifying, we get,

Equating each term to zero, we get,
and

Hence, the values of x is
and
