Dear all I want to plot two different variables in my panel data and merge it in one graph

Such as the following graph: The author plots two variables in panel data and merge it as one graph
Array
Please Help me
Thanks