The denominator of a fraction is one more than three times

Given:-
The denominator of a fraction is one more than three times and if 8 is added to the neumerator and the demominator then the solution is 1/2.
To find the equation.
So now the given fraction is,
[tex]\frac{x}{1+3x}[/tex]So now we add. so we get,
[tex]\frac{x+8}{1+3x+8}=\frac{1}{2}[/tex]So now we get,
[tex]\frac{x+8}{3x+9}=\frac{1}{2}[/tex]So this is the required solution.