Liǎng rén niánlíng xiāngfǎng, hěn kuài chéngle péngyǒu.
The two were of similar age and quickly became friends.
Zhè liǎng kuǎn chǎnpǐn jiàgé xiāngfǎng, gōngnéng què dà bù xiāngtóng.
The two products are similarly priced but their features are quite different.