When expressing agreement with something (an idea, opinion, statement, or proposal), we say "agree to it" or "agree with it". Both are grammatically correct in different contexts. "To" works for proposals or decisions; "with" works for opinions or statements. The answer key lists "to".