the probability distribution of dependent variables
You need to tell us what the distribution of x1 is and what f and g function are exactly? When f and g are simple, we can usually solve this analytically. But when the function is complex, this kind of problems are typically approximated by Monte Carlo simulation.