def find_df_dx(f, x):
    """Find the partial derivative of f with respect to given x

    EXAMPLES
    =========
    >>> x = VariableNode(3)
    >>> f = 2 * x
    >>> print(find_df_dx(f=v, x=x))
    6
    """
    f._grad = 1
    return x.grad
