Both the numerator and the denominator of \( \frac{3}{4} \) are increased by a positive integer, \( x \), and those of \( \frac{15}{17} \) are decreased by the same integer. This operation results in the same value for both the fractions. What is the value of \( x \)?