You can put this solution on YOUR website! I'm assuming you just want to simplify these. So, in the first one, combine like terms to get 6g-3g+5+7, which simplifies to 3g+12. For the second, again combine like terms we get m-4m-2m-6, which simplifies to -5m-6.