A function is a way of assigning outputs to inputs. When someone says $f(1)=6$, they are saying that the value of $f$ is 6 when the input is 1.
Then, the equation $f(2x+1)=3f(x)$ is saying that two values of $f$ are related. Which two? The values of any pair of inputs $x$ and $2x+1$.
For instance, if $x=1$, then $2x+1=3$. Since we know $f(1)=6$, the equation above is telling us $$f(3) = f(2\cdot 1 + 1)=3f(1)=18$$
Now that you know the value of the function when the input is 3, you can repeat this idea for $x=3$ to figure out different values of the function.