A boy looks at a dog while they stand on a trampoline outside.
While standing on a trampoline outside the boy looks at his dog
A boy looks at a dog while they stand is tranferred to while standing by changing the preopositinal phrase to the beginning of the sentence.
(-x)
(-x)