combine graphs and equations