The total cost \( y \) of membership in the club after \( x \) months can be expressed by the equation:
\[ y = 25 + 14.99x \]
In this equation, \( 25 \) represents the initial enrollment cost, and \( 14.99x \) represents the monthly fee for \( x \) months.