a. I told my theory to him to test it in the lab.
b. I shared my theory with him to test it in the lab.
The idea is that I wanted him to test it in the lab.
I told my theory to him/shared my theory with him so that he would test it in the lab,
Are sentences (a) and (b) grammatically correct and do they have the meaning I want them to have?
I don't think they do, but the following seem to work.
c. I gave him the book to give to Harry.
d. I gave the book to him to give to Harry.
e. I told him that story to tell the kids.
f. I told that story to him to tell the kids.
I think this 'structure' only works in certain cases.
Many thanks.