Hey all, this question has been bugging me for two days, it feels like i can see the solution but i can't quite put my finger on it.

1.) A car travels half the distance of a journey at an average speed of 80km/h and half at an average speed of x km/h.

Define a function, S, which gives the average speed for the total journey as a function of x.

Thanks in advance.