please show working step by step for the two

the first answer have no solution since the answer under the square root is negative