For this case the grammar of the sentence is written correctly.
In this case, we are receiving an order directly.
The translation of the expression into English is given by:
Put the flowers on the table
In Spanish we have alternative ways of writing the sentence.
Way 1:
Ponga las flores en la mesa
Way 2:
Pon las flores en la mesa
Answer
The sentence is written correctly.