Given:
[tex]f(x)=\lvert x\rvert[/tex]For vertical stretch of 3 is:
[tex]\begin{gathered} f(x)=\lvert x\rvert \\ 3\text{ unit vertical stretch is:} \\ f(x)=3\lvert x\rvert \end{gathered}[/tex]For shift the right 4 unit is:
use minues the unit for shift right for shift left add the units. so:
[tex]\begin{gathered} f(x)=3\lvert x\rvert \\ 4\text{ units horizontal right shift:} \\ f(x)=3\lvert x-4\rvert \end{gathered}[/tex]For vertical up:
Add the units for up shift the graph then:
[tex]g(x)=3\lvert x-4\rvert+2[/tex]