N1 + 跟 + N2 + 一样 + Adjective
一样 means "the same" or "alike" and is used to compare two things, stating that they share a certain quality. The full pattern specifies what characteristic is being compared. For example, 他跟我一样高 means "he is as tall as I am."
你的想法跟我一样。
Nǐ de xiǎngfǎ gēn wǒ yíyàng.
Your idea is the same as mine.
这两件衣服的颜色看起来一样。
Zhè liǎng jiàn yīfu de yánsè kàn qǐlái yíyàng.
The colors of these two pieces of clothing look the same.
她跑得跟专业运动员一样快。
Tā pǎo de gēn zhuānyè yùndòngyuán yíyàng kuài.
She runs as fast as a professional athlete.