Variation Functions, algebra homework help