Experimenting.
Added working solution for p3
Added operation instructions to the comment
Forgot to write the output image