I tried solving the second one but didn't get it...Please Help!!!
"The second one"? Do you mean ?
There is no reason why you should! The problem is to solve f(x)= 7, not f(x)= -7.
(And, in fact, since it leads to , there is no x satisfying that equation.)