Answer:
Part a) the equation of parabola is: 
Part b) the equation of parabola is: 
Step-by-step explanation:
Part a: focus at (4, 3), and directrix x = 2
Step 1: Find the horizontal or vertical direction
As the directrix x=2 is horizontal, we will use the equation of horizontal parabola i.e.

Step 2: Find the vertex (h,k)
The vertex (h,k) is between the directrix and the focus
x-coordinate (h) can be found by:

the value y-coordinate (k) will be the same as the y-coordinate of focus i.e. k=3
so, vertex(h,k) =(3,3)
Step 3: Find the distance from focus to vertex
The distance from focus to vertex is denoted by p
and can be found by:
p= x-coordinate of focus-x-coordinate of vertex
p= 4 - 3
p= 1
Step 4: Putting values of vertex (h,k) and p in the equation.



so, the equation of parabola is: 
Part b: focus at (2, -1), and directrix x = 8
Step 1: Find the horizontal or vertical direction
As the directrix x=8 is horizontal, we will use the equation of horizontal parabola i.e.

Step 2: Find the vertex (h,k)
The vertex (h,k) is between the directrix and the focus
x-coordinate (h) can be found by:

the value y-coordinate (k) will be the same as the y-coordinate of focus i.e. k=-1
so, vertex(h,k) =(5,-1)
Step 3: Find the distance from focus to vertex
The distance from focus to vertex is denoted by p
and can be found by:
p= x-coordinate of focus-x-coordinate of vertex
p= 2 - 5
p= -3
Step 4: Putting values of vertex (h,k) and p in the equation.



So the equation of parabola is: 