to agree to (do something)
The preposition is part of the word. Without it the answer is wrong in ripiti: quedar en, not quedar.
Remember quedar en for good. ripiti brings the word back just before you forget it, with these sentences. Free, no account needed, works offline.
practise quedar en in ripiti