we take overs on x-axis and runs on y-axis.
Let us choose the following scale:
On x-axis: 1 cm = 1 over
On y-axis: 1 cm = 2 run
Now, let us plot given points for team A and for team B.
These points are joined to get the graph representing the given information as shown in the figure below.
Now we plot bar graph