Problem about Texture Mapping

use c++ and opengl

I rendered the model by trinagle strip the result in picture1

And I have wood texture picture2

How add wood texture(picture2) only brown color area picture1 on the model

use multitexturing, shaders