cant understand this transformation

i know that each derivative pops iw

and

x is a signs of derivative

but i dont know how its been done in here

how they decided that is the derivative of this whole expression

muliplying by x means derivative

but here it something else

i cant see what laws they follow here

?