The two equations you are given are linear and so their graphs are determined by two points. Choose two different values for p and find the corresponding value for x in the first equation. Mark those points on your graph and draw the line through them. Do the same for the second equation. Surely you have already been told how to graph functions like this?