How would i find the total time spent decelerating on a velocity time graph?

would it be the parts on the graph with negative velocity like -20m/s

No. It is the parts where velocity is decreasing. Didn't I answer this before?