Take a square slightly smaller eg the bottom piece 15x15 cm while the top 10x10 cm

What is the correctly punctuated version of this sentence?
Take a square slightly smaller (eg, the bottom piece 15x15 cm, while the top - 10x10 cm).