The key idea is that the total displacement of the object is the area under the velocity-time graph. If you understand this, the rest is trivial.
Calculate the area under the graph at different instants of time, and find the time(s) at which the area is 20. (Since you're working in units where $v_x$ is measured in m/s, and $t$ in seconds, this corresponds to $x= 20$ m.)
If you're confused as to why there are two times that are possible, keep in mind that that the area under the time axis is considered to be negative. You should be able to see that the total area first increases to $40$ m, and then decreases, so it should pass $x=20$ m at two different times.