To find the number of water balloons \( w \) in the bin before Shane trips, we can set up an equation based on the problem statement.
Shane originally had \( w \) water balloons. When he trips, he breaks 12 balloons, which means the number of balloons left is \( w - 12 \). According to the problem, after breaking the balloons, he counts 14 balloons remaining.
We can write the equation as follows:
\[ w - 12 = 14 \]
This equation can be used to find the initial number of water balloons \( w \).