How to solve for x ?

enter image source here