\[\boxed{\mathbf{3.}}\]
\[40 - x = 10\]
\[x = 40 - 10\]
\[x = 30.\]
\[Проверка.\]
\[40 - 30 = 10\]
\[10 = 10.\]
\[90 - x = 50\]
\[x = 90 - 50\]
\[x = 40.\]
\[Проверка.\]
\[90 - 40 = 50\]
\[50 = 50.\]
\[100 - x = 30\]
\[x = 100 - 30\]
\[x = 70.\]
\[Проверка.\]
\[100 - 70 = 30\]
\[30 = 30.\]
\[36 - x = 20\]
\[x = 36 - 20\]
\[x = 16.\]
\[Проверка.\]
\[36 - 16 = 20\]
\[20 = 20.\]
\[65 - x = 40\]
\[x = 65 - 40\]
\[x = 25.\]
\[Проверка.\]
\[65 - 25 = 40\]
\[40 = 40.\]
\[76 - x = 6\]
\[x = 76 - 6\]
\[x = 70.\]
\[Проверка.\]
\[76 - 70 = 6\]
\[6 = 6.\]
\[78 - x = 22\]
\[x = 78 - 22\]
\[x = 56.\]
\[Проверка.\]
\[78 - 56 = 22\]
\[22 = 22.\]
\[94 - x = 51\]
\[x = 94 - 51\]
\[x = 43.\]
\[Проверка.\]
\[94 - 43 = 51\]
\[51 = 51.\]
\[100 - x = 48\]
\[x = 100 - 48\]
\[x = 52.\]
\[Проверка.\]
\[100 - 52 = 48\]
\[48 = 48.\]