Mr.Khanna took his class for a field trip. While on the field trip, he showed his students a machine that is illustrated in the given figure. He added that this machine is used to perform two functions.What are the two functions performed by the given machine?