Let the numerator of the fraction be x.
∴ Denominator = x + 12
∴ The fraction =
If the numerator is decreased by 2 and the denominator is increased by 7, the new fraction obtained is .
From the given information,
∴ Numerator of the fraction is 23.
∴ Denominator of the fraction is 23 + 12 = 35.
Hence, the fraction is .