You play a land grab game on an infinite two-dimensional plane. Each turn you flick a stone, and the stone flies forever along the line y=ax+b. That line cuts the plane into two parts, and you capture the whole part that contains (0,−∞), meaning everything below the line.
Land you have captured stays captured. The land you hold at any moment is therefore the union of the lower half-planes of every line flicked so far.
Between flicks you want to know how high your captured land reaches at a given x coordinate. The flicks and the questions are given in chronological order. Answer every question.