In this example, we create a `TPaveText` object with a position of (0.2, 0.2) and a size of (0.6, 0.2) relative to the normalized device coordinates (NDC). We set the text alignment to center horizontally and vertically, then add a single line of text ("Hello, world!") to the box. Finally, we draw the box on the canvas.c++ // Example 2: Align multiple lines of text to the right TPaveText *text = new TPaveText(0.1, 0.1, 0.5, 0.5, "NDC"); text->SetTextAlign(1, 2); text->AddText("Line 1"); text->AddText("Line 2"); text->AddText("Line 3"); text->Draw(); ``` In this example, we create a `TPaveText` object with a position of (0.1, 0.1) and a size of (0.4, 0.4) relative to NDC. We set the text alignment to the right horizontally and centered vertically. We add three lines of text to the box, each aligned to the right. Finally, we draw the box on the canvas. The `TPaveText` class and the `SetTextAlign` method are part of the ROOT package library.