It's a linear function. We need only two points to draw a graph.
We choose any values of x and calculate the value of y.

for x= 0 → y = 3(0) - 1 = 0 - 1 = -1 → (0, -1)
for x = 2 → y = 3(2) - 1 = 6 - 1 = 5 → (2, 5)

for x = 0 → y = 3(0) - 1/3 = 0 - 1/3 = -1/3 → (0, -1/3)
for x = 2 → y = 3(2) - 1/3 = 6 - 1/3 = 5 2/3 → (2, 5 2/3)
Is there a image supposed to be attached?
All you have to is divide two consecutive terms to calculate the common ratio
1/4 divided by 5/12 = 1/4 * 12/5 = 12/20 = 3/5
2³ + 3² = 2*2*2+3*3= 8+9=17
a=2,
b=3,
P= 17,
2,3,17 are all prime numbers