Word Problems Involving Functions