Answer:
Yes.
Explanation:
Yes, it can be written both ways. Usually, it is written first way, but both equations are correct.