Which law is involved in the act of cleaning a carpet by beating it with a stick?

Law of conservation of energy

Second law of motion

First law of motion

Law of conservation of mass