Explanation:
The function is 
To plot the function in the graph, first we shall determine the amplitude, period, phase shift and vertical shift.
The function is of the form, 
where A is the amplitude = 
Period is
,
Phase shift is C,
Vertical shift is D.
Hence, from the function
, we have,
Amplitude = 
Period = 
Phase shift = 0
Vertical shift = -2
Now, substituting the values for x, we get the corresponding values for y.
For
⇒ 
For
⇒ 
For
⇒ 
For
⇒ 
For
⇒ 
Hence, plotting these points we get the graph which is attached below:
Now, we shall graph the function 
Similarly, we shall determine the amplitude, period, phase shift and vertical shift.
Amplitude = 
Period = 
Phase shift = 0
Vertical shift = 1
Now, substituting the values for x, we get the corresponding values for y in the function 
For
⇒ 
For
⇒ 
For
⇒ 
For
⇒ 
For
⇒ 
Hence, plotting these points we get the graph which is attached below: