'1. You can write it in another way' is the only correct form among those you have presented, Jack, though it would as likely be written/spoken without the preposition: 'You can write it another way'. The reason is usage, as it is in most cases, Jack.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.