Deloitte Interview Question

Expecting the know the syntax for DAG