sketch the graph of f:[-pi/3,pi/3] --> R, f(x) = sec(x)
you will see that you need to perform a reflection in the x-axis. this creates the following graph:
f:[-pi/3,pi/3] --> R, f(x)=-sec(x)
now you want the archway to be 4 m in height. currently it is 1 m in height. so dilate from the x-axis by a factor of 4. the result is:
f:[-pi/3,pi/3] --> R, f(x) = -4 sec(x)
now you want the archway to be 6 m in width. currently it is 2pi/3 m in width. so dilate from the y-axis by a factor of 9/pi. the result is:
f:[-3,3] --> R, f(x) = -4 sec(pi/9*x)
now perform appropriate transformations. currently the bottom left point on the archway is (-3,-8). so we need to translate the graph 3 units in the pos dir of the x-axis and 8 units in the pos dir of the y-axis. the result is:
f:[0,6] --> R, f(x) = -4 sec(pi/9*(x-3))+8= -4sec(pi/9*x - pi/3) + 8
so a = -4, b= pi/9, c = -pi/3 and d = 8
always approach these questions systematically; apply reflections and dilations before translations.