I am reading on martingale theory from "Probability: a graduate course" and where the following theorem is proved (in the proof, theorem $9.1$ refers to Doob's maximal inequality):
Do you have any idea how he obtained inequality $(1),$ especially how he obtained $\{\max_{1 \leq k \leq n} c_kX_{k}^+>\lambda\}$ in the integral in inequality $(1)$ ?

Because of the following two things: