The sentence that demonstrates correct subject-verb agreement is:
They visited their grandparents last weekend.
and
The children visited their grandparents last weekend.
Both of these sentences use the past tense "visited" correctly because they refer to an action that took place in the past (last weekend). The other sentences use "visit," which is present tense and does not match the past time reference of "last weekend."