I am trying to solve exercise 211 on Davis-Kirk:
Let $\mathcal{C}$ be the class of torsion abelian groups. Show that for any abelian groups $A,~B$, $A\otimes \mathbf{Q}\cong B\otimes \mathbf{Q}$ implies $A$ and $B$ are $\mathcal{C}$-isomorphic, that is,
there exists an abelian group $C$ and group homomorphisms $f:C\to A$, $g:C\to B$ such that $\ker f,\mathrm{coker} f$, $\ker g,\mathrm{coker} g$ are abelian torsion groups.
My attempt:
Consider the exact sequence $$0\to\mathbf{Z}\to \mathbf{Q}\to \mathbf{Q}/\mathbf{Z} \to 0 $$ and the indcued exact sequence $$0\to \mathrm{Tor}(\mathbf{Q}/\mathbf{Z},A)\to A\to \mathbf{Q}\otimes A \to \mathbf{Q}/\mathbf{Z} \otimes A \to 0 $$
It is tempting to take the map $A\to \mathbf{Q}\otimes A$ whose kernel and cokernel are all torsion groups. But the definition ask us to find a map whose target is $A$, not the source. Moreover, we cannot conclude $\mathrm{Tor}(\mathbf{Q}/\mathbf{Z},A)\cong \mathrm{Tor}(\mathbf{Q}/\mathbf{Z},B)$.
Besides from this "canonical map", I have no idea how to construct those two maps. Any hints and answer are welcome!