Задание

Put the verb in brackets into the correct \(to\) infinitive or -ing form.
He agreed ___________ \(work\) at weekends.