Because the generating sets are disjoint, the free product has the presentation
This is immediate from the universal property of a group presentation: a map out of this presented group is exactly a pair of homomorphisms from and to the target group.