Should a Principal Hire One Agent or Two Agents to Perform Two Sequential Tasks?