total coins = 998
Let
the swedish coins = x
Therefore,
Norwegian coins = 3x - 26
The coins from each country can be calculated below
[tex]\begin{gathered} x+3x-26=998 \\ 4x=998+26 \\ 4x=1024 \\ x=\frac{1024}{4} \\ x=256 \end{gathered}[/tex]Therefore,
[tex]\begin{gathered} \text{swedish coins = 256} \\ Norwegian\text{ coins = 3(256)-26 = }768-26=742\text{ } \end{gathered}[/tex]