Minimization using the penalty method

16 Views Asked by At

I dont understand what was made between step (1) and step (2). How did they managed to get to (2)? I tried solving both equations in order of x1 and then solve the equality to find x2 in order of p but i dont get the same thing.

enter image description here