added code of second sheet for tasks 1 and 2