The adjacent angle directly above angle 8 is congruent to the 115 degree angle (due to the corresponding angles theorem). This only works because p || q and q || r, so by the transitive property of parallel lines, we know that p || r.
Since the 115 degree angle and angle 8 pair up to form a straight line, we know that the two angles must add to 180 degrees