Answer will be (D).
TAT = Completion Time - Arrival Time.
The Gannt Chart for Non Preemptive scheduling will be $(0)P3,(15)P1,(35)P2(45).$
From above this can be inferred easily that completion time for $P2$ is $45$, for $P1$ is $35$ and $P3$ is $15.$
Gantt Chart for Preemptive- $(0)P3,(1)P3,(2)P3,(3)P2,(4)P2,(5)P1,(25)P2,(33)P3(45)$.
Similarly take completion time from above for individual processes and subtract it from the Arrival time to get TAT.