Consider a linear function represented by the equation $$y = 3x + 4$$. If you want to calculate the value of $$y$$ when $$x = 2$$, what would that value be?