The cost of a notebook is three the cost of a pen. Write a linear equation in two variables to represent this statement.