I assume that the brackets [] represent absolute values.
We can show the height of children that are allowed to ride the ride by the inequalities 30 < h and h < 50.
We can find the average height of children that are allowed to ride by adding the extremes and dividing by 2 (mid-point formula).
(50 + 30)/2
80/2
40
We can also find the number of inches from the midpoint to the extremes by subtracting the minimum from the maximum and divinding by 2.
(50 - 30)/2
20/2
10
Absolute value inequalities are set up as:
[vaiable (h) - mid-point of accepted range (40)] < or > distance from mid-point to extreme (10)
The answer is d, [h - 40] < 10.