Let's assume
number of gold medals were won in sports other than swimming =x
we are given
total number of gold medals =63
number of gold medals in swimming =12
so,
total number of gold medals =number of gold medals in swimming+number of gold medals were won in sports other than swimming
so, we will get equation as

now, we can solve for x


so, equation is
............Answer