SAT Math: Transforming Functions on a Graph