Those anyone knows how to rewrite these

" Take out the trash before the dog knocks over the can " Mom ordered
" Jordan get thoes straws out of your nose! " Mom shouted
hope this helps!
"Take out the trash," Mom ordered, "Before the dog knocks over the can".
"Jordan get those straws out of your nose!" Mom shouted.