It sounds like you are trying to learn how to run a subtask from a task in Prefect 2.0. According to the Prefect documentation, you can call subtasks from a task using the .subflow() method. You can pass results from other tasks to your subflow using the .map() method. Here is the link to the Prefect documentation for more information:
https://docs.prefect.io/concepts/flows/.