here are some guidelines to put you in the right direction:
In the Cloud Reco sample, check the Assets/Scripts/CloudRecoScripts folder
there you find a set of scripts, among which you find the following ones:
The BookData class is just a container for a set of text properties (like title of the book, author, price, rating, etc.)
The BookInformationParser class contains a method called "UpdateBookData(BookData bookData)" :
this methods retrieves the text attributes from the BookData (such as title, author, proce, etc.) and sets them in a set of <TextMesh> components
Each of these <TextMesh> components is associated to a specific game-object in the scenegraph;
the way these game-objects are arranged (positioned) with respect to one another so to form a complete "overlay" object, is defined visually in the Unity editor,
i.e. the various textMesh objects are positioned and attached in the scenegraph hierarchy like it would happen for any other Unity game-object.
You can also check the Unity documentation for the <TextMesh> class:
I invite you to dig into the sample project script code and to explore the scenegraph for such sample; this should point you in the right direction hopefully.