Exponential Functions: Find the equation through the points A and B in the form y = a b x

Question 1:

A is (0,-5) and
B is (2,-45)
y = -5 × 3 x

Question 2:

A is (0,-2) and
B is (2,-50)
y = -2 × 5 x

Question 3:

A is (0,3) and
B is (1,12)
y = 3 × 4 x

Question 4:

A is (3,24) and
B is (5,96)
y = 3 × 2 x

Question 5:

A is (2,-18) and
B is (4,-162)
y = -2 × 3 x

Question 6:

A is (2,45) and
B is (4,405)
y = 5 × 3 x