def METHOD_NAME(x, distribution1, distribution2):
    if distribution1.n_dimensions != distribution2.n_dimensions:
        raise NameError("mapping_dx: The two distributions are not compatible")
    return distribution2.ppf_dx(distribution1.cdf(x)) * distribution1.cdf_dx(x)