I'm struggling to write out the integral for this. Both $x$ and $y$ are i.i.d. distributed uniformly over $[40,80]$.
I think it should be of the form $\int_{40}^{80} \int_{100-x}^{80} \frac{1}{40\times40}dy~dx$ but this evaluates to $1$?
Thanks for your help!


$\newcommand{\bbx}[1]{\,\bbox[15px,border:1px groove navy]{\displaystyle{#1}}\,} \newcommand{\braces}[1]{\left\lbrace\,{#1}\,\right\rbrace} \newcommand{\bracks}[1]{\left\lbrack\,{#1}\,\right\rbrack} \newcommand{\dd}{\mathrm{d}} \newcommand{\ds}[1]{\displaystyle{#1}} \newcommand{\expo}[1]{\,\mathrm{e}^{#1}\,} \newcommand{\ic}{\mathrm{i}} \newcommand{\mc}[1]{\mathcal{#1}} \newcommand{\mrm}[1]{\mathrm{#1}} \newcommand{\pars}[1]{\left(\,{#1}\,\right)} \newcommand{\partiald}[3][]{\frac{\partial^{#1} #2}{\partial #3^{#1}}} \newcommand{\root}[2][]{\,\sqrt[#1]{\,{#2}\,}\,} \newcommand{\totald}[3][]{\frac{\mathrm{d}^{#1} #2}{\mathrm{d} #3^{#1}}} \newcommand{\verts}[1]{\left\vert\,{#1}\,\right\vert}$ \begin{align} &\bbox[10px,#ffd]{\int_{40}^{80}{1 \over 40} \int_{40}^{80}{1 \over 40}\bracks{x + y > 100} \dd x\,\dd y} \\[5mm] = &\ {1 \over 1600}\int_{40}^{80}\int_{40}^{80} \bracks{x > 100 - y}\dd x\,\dd y \\[1cm] = &\ {1 \over 1600}\ \times \\[2mm] &\ \int_{40}^{80}\!\!\braces{\!\!% \bracks{100 - y < 40}\int_{40}^{80}\dd x + \bracks{40 < 100 - y < 80}\int_{100 - y}^{80}\dd x\!\!}\!\dd y \\[1cm] = &\ {1 \over 1600}\braces{% \int_{40}^{80}\bracks{y > 60}40\,\dd y + \int_{40}^{80} \bracks{y < 60}\pars{y - 20}\,\dd y } \\[5mm] = &\ {1 \over 40}\int_{60}^{80}\dd y + {1 \over 1600}\int_{40}^{60}\pars{y - 20}\dd y = \bbx{7 \over 8} = 0.875 \end{align}