we have these two fractions which are disimilar. We want similar fractions to add them. Similar fractions are those which have same denominators (bottom number).
Here the two denominators are x and 3x, so we multiply the first fraction with 3 (both numerator and denominator) and we have .
Now that are similar we add their numerators.
I hope i make you understand, english isn't my mother language