We could hyphenate it as agreed-upon to make it clearer that the two-word phrase is acting as a single adjectival unit, modifying the noun bet. The past participle of the verb agree is used adjectivally, and the preposition accompanies it when forming the adjectival phrase. It was a mutually agreed upon bet. The adverb mutually modifies the ... More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.