Composition of linear functions: find an equation