Since that we're interested in solving $$\begin{cases}\frac{\partial u}{\partial x}(x,y)+2\frac{\partial u}{\partial y}(x,y)=1 \quad (x,y)\in \Omega\subseteq \mathbb{R}^{2}\\
u(0,y)=e^{-y^{2}}\end{cases}$$
we can use the characteristic method and the Lagrange-Charpit equations are given by $$\frac{dx}{1}=\frac{dy}{2}=\frac{du}{1}$$
From this, we have that $$\frac{dx}{dy}=\frac{1}{2} \quad [1] \quad \text{and} \quad \frac{du}{dy}=\frac{1}{2} \quad [2]$$
Integration of these gives characteristic curves gives us in $[1]$ $$\frac{dx}{dy}=\frac{1}{2} \implies \int 2dx=\int dy \implies \color{blue}{\boxed{2x=y+C_{1}}}$$
and in $[2]$ we have that $$\frac{du}{dy}=\frac{1}{2} \implies \int du=\int \frac{1}{2} dy \implies \color{blue}{\boxed{u=\frac{1}{2}y+C_{2}}} $$
where $C_{1}$ and $C_{2}$ are arbitrary constants. From the first of the above equation, we have that $$2x-y=C_{1}$$
Spcecifying $C_{2}$ as a function of $C_{1}$ gives a solution surface, $$u=\frac{1}{2}y+C_{2} \implies \color{blue}{\boxed{u(x,y)=\frac{1}{2}y+f\left(2x-y\right)}}$$
where $f(\cdot)$ is an arbitrary function.
Now, since that the initial data is given by $u(0,y)=e^{-y^{2}}$, so we have that $$\left. u(x,y)\right|_{u(0,y)=e^{-y^{2}}} \implies e^{-y^{2}}=\frac{1}{2}y+f(-y) \implies f(y)=e^{-y^{2}}+\frac{1}{2}y$$
Therefore, the solution is given by $$u(x,y)=\frac{1}{2}y+e^{-(2x-y)^{2}}+\frac{1}{2}(2x-y)\implies \color{red}{\boxed{u(x,y)=e^{-(2x-y)^{2}}+x}}$$
It's clear that $u(x,y)$ complies with 1) $u(0,y)=e^{-y^{2}}$ and 2) $\frac{\partial u}{\partial x}(x,y)+2\frac{\partial u}{\partial y}(x,y)=1$ as desired.