The total cost consists of two parts: the fuel cost and the other fixed cost. The fuel cost per hour is:
\[
\text{Fuel cost} = 70 \times f_c = 70 \times \left(20 + \frac{x^2}{50}\right)
\]
Thus, the total cost is:
\[
\text{Total cost} = \text{Fuel cost} + 500 = 70 \times \left(20 + \frac{x^2}{50}\right) + 500
\]
To minimize the total cost, we first calculate the total time to travel 100 km, which is:
\[
\text{Time} = \frac{100}{x}
\]
Thus, the total cost as a function of \( x \) becomes:
\[
\text{Total cost}(x) = \left(70 \times \left(20 + \frac{x^2}{50}\right) + 500 \right) \times \frac{100}{x}
\]
Now, minimize this function by taking its derivative and setting it equal to zero. After differentiation and solving, we get the optimal speed as:
\[
\boxed{35.0} \, \text{kmph}
\]