\(a-b=2\Rightarrow a^2-2ab+b^2=4\Rightarrow a^2+2ab+b^2=16\Rightarrow\left(a+b\right)^2=\left(\pm4\right)^2\Rightarrow a+b=\pm4\) \(+,a+b=4\Rightarrow a=\frac{4+2}{2}=3\Rightarrow b=1\Rightarrow Q=81+1=82;R=a^6+b^6=729+1=730\)
\(+,a+b=-4\Rightarrow a=\frac{\left(-4\right)+\left(-2\right)}{2}=-3\Rightarrow b=-1\Rightarrow Q=3^4+1^4=82;R=3^6+1=729+1=730\)