If the numerator of a fraction is increased by 2 and the denominator by 1, it becomes 5/8 and if the numerator and denominator of the same fraction are each increased by 1, the fraction becomes 1/2. Find the fraction.