The perimeter of each figure in the pattern is shown in the table below.

Figure Perimeter
1 triangle 24
2 triangles 30
3 triangles 36
Which equation relates the number of triangles in the figure (n) to the perimeter of the figure (P)?

(1 point)
Responses

P = 6n + 18
P = 6 n + 18

P = 9n + 6
P = 9 n + 6

P = 6n + 9
P = 6 n + 9

P = 9n + 12

P = 6n + 9