I think that the second one is good as well except that you forgot the minus sign near the end. :))
.......؟
any one >?
The first one looks really good. I did it exactly the same way :)
Thank you