<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _get_distance_scaling(self, C, mag, rhypo):
 """ Returns the distance scalig term """

        return (C["a3"] * np.log(rhypo)) + (C["a4"] + C["a5"] * mag) * rhypo