\[\boxed{\mathbf{4.}}\]
\[\textbf{а)}\ 50 + 30 = 80\]
\[60 - 40 = 20\]
\[90 - 20 = 70\]
\[80 + 20 = 100\]
\[100 - 30 = 70\]
\[100 - 60 = 40\]
\[\textbf{б)}\ 30 + (100 - 70) = 30 + 30 =\]
\[= 60\]
\[100 - (40 + 40) = 100 - 80 =\]
\[= 20\]
\[70 + 30 - 90 = 100 - 90 = 10\]