A cyclist travels for x hours at 5km/h. He travels 35km altogether and his average speed is 7km/h. Find x and y

no idea what y is supposed to be.

but avg speed = (total distance) / (total time)