The total cost \( C \) of the Uber ride can be represented by the expression:
\[ C = 5 + 1.50m \]
In this expression, \( 5 \) represents the pickup charge, and \( 1.50m \) represents the cost per mile driven, with \( m \) being the number of miles driven.