I am reading about additive categories from https://ncatlab.org/nlab/show/additive+category and trying to prove that in any Ab-enriched category, if the coproduct and product of A,B exist, then there is an isomorphism between them. This is proposition 2.1 in the linked page.
In particular, I am trying to understand equation (**) in 2.1. We are showing that $(id\times 0)\pi_1 + (0\times id)\pi_2 = id_{X_1\times X_2}$ by composing both sides of this equation with every possible morphism from $R\rightarrow X_1\times X_2$ and checking that they both give the same result. Why is this enough to check that these morphisms are the same? The linked page says that this is the "Yoneda Lemma on Generalized Elements," but I cannot find any information on what that means.
My understanding of category theory & the Yoneda lemma is very limited, so any details that can be spelled out here are very much appreciated.