The economic transaction described takes place in the labor market. There is an employer who demands labor for a specific task (Joseph), and a second party, the owner of the factor of production demanded (his friend Larry), who is willing to provide such labor in exchange for a price.
This type of economic transation is for hiring labor, and is known as a work contract.