For a pattern function f(x), you can notice that the given transformations are:
f(x) => f(x - a) + 2
which means that the function has been trasnlated 3 units to the right and 2 unit upward.
In this case, the patter function is:
y = x²
after the translation you obtain the given function in the problem:
y = (x - 3)² + 2
The graph of the previous function and the pattern function are shown below: