arithmetic and geometric sequences worksheet with answers