买1双手套和4顶帽子需36元,买4双手套和1顶帽子需54元,1双手套几元?1顶帽子几元?