<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_term(self, C, mag, rrup):
 """ Returns the distance scaling parameter """

        return (C["r1"] + C["r2"] * mag) * np.log10(rrup + C["r3"])