Synecdoche: a substitution of a part of something for the whole or the whole for a part.
Mechanical device is a try square
What poetic device is used in that firts two lines?
It seems you have omitted the lines you are referring to. Please provide the lines so I can identify the literary device being used.
eraser shield
satelite
personification
Such a device is known as a protractor.
IRQ
modem
IRQ
alliteration
slant rhyme