Keith bought a hat and a poster for $26. Sarah's family purchased four hats and two posters for $88. How much is a hat and a poster?