Draw a graph on x-1=8

How to do this???😩 
Nagaraj K.jyoti's image