Let $k$ be an algebraic closed field. Let $n$ be a positive integer.

Let $X$ be an irreducible, proper and smooth scheme over $k$ with an immersion $i:X\hookrightarrow E:=\mathbb P^N_k$ with $N$ large enough. Let $x_0\in X$ be a closed point and $0\neq f_0\in \mathcal O_{X,x_0}/\mathfrak m_{x_0}^n$.

Does there exist a pencil $D\in Gr(1,\check{E})$, here $Gr(1,\check{E})$ is the variety of lines in $\check{E}=(\mathbb P^N_k)^\vee$, such that the following conditions are satisfied:

1) The axis of $D$ meets transversely with $X$.

2)There exist two points $F$ and $G$ on $D$(view $F$ and $G$ as hyperplanes in E) such that $x_0\notin F$, $x_0\in G$ and $\frac{G}{F}\equiv f_0 \mod \mathfrak m_{x_0}^N$.

3) There exist a open neighborhood $U\subset D$ of $G$ in $D$ such that for every $G_1\in U-\{G\}$, the hyperplane $G_1$ meets transversely with $X$.

**Edit**:due to abx's example, in the case $f_0=0$ the pencil may not exist. In the first time, $f_0\in \mathcal O_{X,x_0}/\mathfrak m_{x_0}^N$, but now I try to let the degree of $f_0$ different with $N$,i.e.,$f_0\in \mathcal O_{X,x_0}/\mathfrak m_{x_0}^n$ ($n<N$).