Shalina uses the expression 3x to determine the cost of x notebooks. What is the cost of 24 notebooks?