Marissa Mayer decided how much to pay employees at Yahoo based on a lesson she learned from Google