You'll need to merge the data into "long forn": an ID variable that identifies the three groups, a T variable that contains the stacked times, and a Y variable that contains the stacked Y1, Y2, and Y1-Y2. Then use PROC SGPANEL to plot the three graphs on a common XAXIS.
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.