The currency used on the planet Zog consists of bank notes of a fixed size differing only in colour. Three green notes and eight blue notes are worth 46 zogs; eight green notes and three blue notes are worth 31 zogs. How many zogs are two green notes and three blue notes worth?