solved q 1