We are developing software to train children how to cross the street safely. Part of the training is to teach them not to cross when they don't have enough visibility due to obstacles. In this case, the obstacle is a hill. The child is standing on a plateau on the top of the hill.

Cars come up the hill at a constant speed (say, 13.88 m/s). The children need to have 6 seconds of visibility to cross safely. Therefore they need to be able to see the car for at least 83.33m of the car's travel (6s * 13.88m/s). Cars are 2m tall (assume they're rectangles), and the child is 1.25m tall. The slope of the hill will be constant and we'd like it to be 30 degrees. We want the distance between where the hill starts to round out (point A) to where it's completely parallel with the top of the ground (point B) to be 20 meters.
How do we calculate: The x-value of where the child is standing such that the distance along the road from the front of the car to the participant is exactly 83.33m, at the moment the participant can first see the car? (Assume that x=0 is point B)
The picture is not to scale. Also the box is a car, if that wasn't clear (not an artist).
Let the child be at $(a, 0)$. Child's eyes are at $(a, h_c)$. Let the vehicle be at $(x_1, y_1)$ and top of vehicle be at $(x_2, y_2)$. The height os the vehicle is $h_v$. Assume that the road is not a curve but a sharp joint located at $(0, 0)$ as in the image. Let the distance along the road from child to car be $K$. The angle of incline of the road is $\theta$.
.