Frage im Vorstellungsgespräch bei CRISIL

simple conditional probability question how do you generate t distributed random variable