Edit: I have reworded the question.
This may be a basic question but I am having trouble figuring out the correct answer. I am tryingwant to interpolate thefind a local coordinate charts between two points $p_1$,chart that fits a d-dimensional submanifold in $p_2 \in \mathbb{R}^N$$\mathbb{R}^N$. The data I have is the ambient intrinsic dimension of the manifold (dimension d), the I am given two points $p_1, p_2$,$p_1, p_2 \in \mathbb{R}^N$ and ancorresponding orthonormal basisbases $(\phi_1, \phi_2, \ldots, \phi_d)$, $(\tau_1, \tau_2, \ldots, \tau_d) \subseteq \mathbb{R}^N$ for thetheir tangent space at each pointspaces. I would like to find the coordinates $(f_1(x_1, x_2, \ldots, x_d), f_2(x_1,x_2,\dots,x_d), \ldots, f_N(x_1,x_2,\ldots,x_d))$ that could fit these restrictions. I would like for each $f_i$ to be a polynomial function in $(x_1,x_2,\ldots, x_d)$ that best fits the data. There is obvious ambiguity in this problem because a choice for $(x_1, x_2, \ldots, x_d)$ has to be madean algorithmic method for $p_1$ andfinding functions $p_2$. I am wondering if there is a solution to this problem despite this ambiguity. If anyone knows of any references to for this type of problem$(f_1(x_1,x_2,\ldots,x_d), f_2(x_1,x_2,\ldots,x_d),\ldots f_N(x_1,x_2,\ldots,x_d))$ that would also be appreciatedsatisfy these conditions.