When there is highly inelastic supply of the factor and highly inelastic demand of the factor, in these situations the owners supply factors of production are the most likely to earn economic rent. So, the answer should be:
factors of production are the most likely to earn economic rent when they are highly inelastic supply of factor and highly inelastic demand of the factor.