\definecolor{ffqqqq}{rgb}{1.,0.,0.}
\definecolor{qqqqff}{rgb}{0.,0.,1.}
\definecolor{ccqqqq}{rgb}{0.8,0.,0.}
\definecolor{qqwuqq}{rgb}{0.,0.39215686274509803,0.}
\definecolor{bfffqq}{rgb}{0.7490196078431373,1.,0.}
\definecolor{xdxdff}{rgb}{0.49019607843137253,0.49019607843137253,1.}
\definecolor{zzffff}{rgb}{0.6,1.,1.}
\definecolor{uuuuuu}{rgb}{0.26666666666666666,0.26666666666666666,0.26666666666666666}
\definecolor{ffdxqq}{rgb}{1.,0.8431372549019608,0.}
\definecolor{ududff}{rgb}{0.30196078431372547,0.30196078431372547,1.}
\begin{tikzpicture}[line cap=round,line join=round,>=triangle 45,x=1.0cm,y=1.0cm]
\clip(-5.,-0.5) rectangle (10.,9.);
\fill[line width=4.4pt,color=ffdxqq,fill=ffdxqq,fill opacity=0.5] (1.0164069836246392,8.049734290356149) -- (-2.1725295343120554,1.3936318938574095) -- (8.785426822624775,1.4150341523670518) -- cycle;
\draw[line width=2.pt,color=qqwuqq,fill=qqwuqq,fill opacity=0.10000000149011612] (1.3051760767678315,3.8801125867410335) -- (1.7344146758531733,4.028030558084453) -- (1.5864967045097544,4.457269157169794) -- (1.1572581054244127,4.309351185826375) -- cycle; 
\draw[line width=2.pt,color=qqwuqq,fill=qqwuqq,fill opacity=0.10000000149011612] (2.3314128270497814,4.233759389575714) -- (2.7606514261351234,4.381677360919133) -- (2.6127334547917043,4.810915960004475) -- (2.1834948557063627,4.662997988661056) -- cycle; 
\draw[line width=2.pt,color=qqwuqq,fill=qqwuqq,fill opacity=0.10000000149011612] (4.725328889054112,4.180548607654792) -- (4.9488351198428875,4.575732698920741) -- (4.553651028576939,4.799238929709517) -- (4.330144797788163,4.404054838443568) -- cycle; 
\draw [line width=4.4pt,color=ffdxqq] (1.0164069836246392,8.049734290356149)-- (-2.1725295343120554,1.3936318938574095);
\draw [line width=4.4pt,color=ffdxqq] (-2.1725295343120554,1.3936318938574095)-- (8.785426822624775,1.4150341523670518);
\draw [line width=4.4pt,color=ffdxqq] (8.785426822624775,1.4150341523670518)-- (1.0164069836246392,8.049734290356149);
\draw [line width=2.8pt] (1.0164069836246392,8.049734290356149)-- (3.30644864415636,1.4043330231122306);
\draw [line width=4.4pt,color=zzffff,domain=-5.:10.] plot(\x,{(--25.987198557879758--2.2900416605317204*\x)/6.645401267243918});
\draw [line width=2.8pt] (5.031715406867115,5.644510384713231)-- (-2.1725295343120554,1.3936318938574095);
\draw [line width=2.8pt] (5.031715406867115,5.644510384713231)-- (8.785426822624775,1.4150341523670518);
\draw [line width=2.8pt] (0.348623234122649,6.655903779650654)-- (7.158544265113213,2.804382892941663);
\draw [line width=4.4pt,color=bfffqq,domain=-5.:10.] plot(\x,{(-12.5256349292148--6.809921030990564*\x)/3.8515208867089905});
\draw [line width=2.8pt] (1.42959293627753,3.5190711392853204)-- (0.348623234122649,6.655903779650654);
\draw [line width=2.8pt] (6.9085711147459445,3.5297722685401416)-- (7.158544265113213,2.804382892941663);
\draw [line width=1.2pt,dash pattern=on 3pt off 3pt,color=qqqqff] (-2.717199196018289,2.974191986939518)-- (2.191386472536836,0.6224901714581237);
\draw [line width=1.2pt,dash pattern=on 3pt off 3pt,color=qqqqff] (7.084188907431013,6.351803990382595)-- (2.191386472536836,0.6224901714581237);
\draw [line width=2.8pt] (5.031715406867115,5.644510384713231)-- (-2.1725295343120554,1.3936318938574095);
\draw [line width=2.8pt,color=ffqqqq] (3.30644864415636,1.4043330231122306)-- (-2.1725295343120554,1.3936318938574095);
\draw [line width=2.8pt,color=ffqqqq] (0.6314588164316789,1.2492923382867536) -- (0.6308735995417682,1.548923385921421);
\draw [line width=2.8pt,color=ffqqqq] (0.5030455103025357,1.249041531048219) -- (0.5024602934126251,1.5486725786828865);
\draw [line width=2.8pt,color=ffqqqq] (3.30644864415636,1.4043330231122306)-- (8.785426822624775,1.4150341523670518);
\draw [line width=2.8pt,color=ffqqqq] (5.981438471881039,1.5593737079377077) -- (5.982023688770952,1.2597426603030402);
\draw [line width=2.8pt,color=ffqqqq] (6.1098517780101815,1.5596245151762422) -- (6.110436994900095,1.2599934675415747);
\begin{scriptsize}
\draw [fill=ududff] (1.0164069836246392,8.049734290356149) circle (3.5pt);
\draw[color=ududff] (1.166222793192135,8.5312851068231) node {$A$};
\draw [fill=ududff] (-2.1725295343120554,1.3936318938574095) circle (3.5pt);
\draw[color=ududff] (-2.4293566364277623,1.8537804518147178) node {$B$};
\draw [fill=ududff] (8.785426822624775,1.4150341523670518) circle (3.5pt);
\draw[color=ududff] (8.93524263219227,1.8965849688340024) node {$C$};
\draw [fill=uuuuuu] (3.30644864415636,1.4043330231122306) circle (2.0pt);
\draw[color=uuuuuu] (3.4562644537238554,1.7467691592665067) node {$D$};
\draw[color=zzffff] (-4.612387004411271,2.838284343258261) node {$d$};
\draw [fill=xdxdff] (5.031715406867115,5.644510384713231) circle (2.5pt);
\draw[color=xdxdff] (4.890215773869886,6.048623119704599) node {$M$};
\draw [fill=uuuuuu] (1.42959293627753,3.5190711392853204) circle (2.0pt);
\draw[color=uuuuuu] (1.4230498953078419,3.095111445373968) node {$E$};
\draw [fill=uuuuuu] (6.9085711147459445,3.5297722685401416) circle (2.0pt);
\draw[color=uuuuuu] (7.051843883343753,3.886995010230731) node {$F$};
\draw [fill=uuuuuu] (0.348623234122649,6.655903779650654) circle (2.0pt);
\draw[color=uuuuuu] (-0.010901424838188636,6.776299909032435) node {$P$};
\draw [fill=uuuuuu] (7.158544265113213,2.804382892941663) circle (2.0pt);
\draw[color=uuuuuu] (6.709407747189476,2.8596866017679035) node {$Q$};
\draw[color=bfffqq] (6.217155801467705,8.509882848313458) node {$d'$};
\draw [fill=uuuuuu] (-2.717199196018289,2.974191986939518) circle (2.0pt);
\draw[color=uuuuuu] (-2.5577701874856156,3.3305362889800327) node {$H$};
\draw [fill=uuuuuu] (7.084188907431013,6.351803990382595) circle (2.0pt);
\draw[color=uuuuuu] (6.880625815266614,6.754897650522793) node {$K$};
\draw [fill=uuuuuu] (-0.5994654124757921,1.9595864121876463) circle (2.0pt);
\draw[color=uuuuuu] (-0.39614207801174905,2.303227880517205) node {$H'$};
\draw [fill=uuuuuu] (3.643214082230843,2.3225334692611077) circle (2.0pt);
\draw[color=uuuuuu] (3.991320916464911,2.3674346560461315) node {$K'$};
\draw [fill=ccqqqq] (2.191386472536836,0.6224901714581237) circle (2.5pt);
\draw[color=ccqqqq] (2.5787718548285232,0.2700133221011914) node {Fixed};
\end{scriptsize}
\end{tikzpicture}