Word problems involving linear equations or rates