Yeah, you just solve a system of 2 linear equations in 2 unknowns.
The best way to think about this is to systematically translate "pieces of information I need" into "unknowns", and "pieces of information I have" into "equations".
The pieces of information you need are $x =$ final amount of USD and $y =$ final amount of CAD.
The pieces of information you have are (1) the final amount of USD equals the final amount of CAD, and (2) the exchanged amount (or $100 minus the final amount) of USD times the exchange rate equals the final amount CAD.
So your equations can be
$$
\begin{align}
x &= y \\
1.3(100 - x) &= y
\end{align}
$$
You can eliminate $y$ right away and set $x = 1.3(100 - x)$. Solve:
$$
\begin{align}
x &= 1.3(100 - x) \\
x &= 130 - 1.3x \\
2.3x &= 130 \\
x &= 130 / 2.3 \\
x &\approx 56.521739 \\
100-x &\approx 43.478261
\end{align}
$$
So you can exchange USD ~43.48 to end up with USD ~56.52 and CAD ~56.52.
23come from in that formula @PeterForeman? – Mike Trpcic Jan 25 '20 at 19:10