in the eCart object, create a column for each line of engraving.
Then in the add to cart button behavior, set each of those columns to be updatable from a text field.
That will add text fields for each of the engraving columns to the add to cart form
when you create the page to display the cart information, make sure to include the engraving columns in the cart display.