To solve for the cost \( C \) using the equation \( C = 15 + 3x \), we need to identify the variables in the context of the problem. In this case:
- \( C \) is the total cost.
- The flat rate for a lane is \( 15 \).
- The fee per shoe rental is \( 3 \).
- \( x \) represents the number of shoe rentals.
We are asked to find the cost for 4 shoe rentals, so we will set \( x = 4 \).
Now, substitute \( x \) into the equation:
\[ C = 15 + 3(4) \]
Now perform the multiplication:
\[ C = 15 + 12 \]
Next, add the values:
\[ C = 27 \]
Thus, the cost of getting a lane and four shoe rentals is \( \boxed{27} \).