If the triangles are similar, then the corresponding ratio of their sides have equal ratios. Through ratio and proportion, we would determine the answer.
5/6 = x/9, where x is the length for side PN
Transposing the equation so that x is on the left side:
x = (5/6)*9
x = 7.5