Variations, logs and rounding, algebra homework help