The equation of the graph in red is given by
Let us find the equation of the graph in blue.
Notice that the blue graph is horizontally translated to the right by 3 units.
The rule for horizontal translation to the right is given by
For the given case, the translation is 3 units so the equation becomes
Also, notice that the blue graph is vertically translated upward by 1 unit.
The rule for vertical translation upward is given by
For the given case, the translation is 1 unit so the equation becomes
Finally, combining both of the translations, the equation of the blue graph becomes