pit stop strategy

I am trying to figure out when and how to do pit stop on a 20 lap race on Interlagos. I must use H,M,S compound types with 5x on fuel.
Does this mean I select a compound to start on, and then I must do 2 more pit stops and change tires?
 
Back