The down-vote has been now been removed - presumably the voter saw the edit and realised that the answer was OK after all. No one is able to see who voted for what so this is only a guess on my part. If there is the kernel of a good answer then it will be edited into shape by other users. Most of us will offer constructive criticism where appropriate so read the comments and take on board what people are trying to tell you.
If English isn't your first language then it would be worth just reading the site for a while to get a feel for the sort of answers that are rewarded with votes. We like answers to be self contained and well reasoned.
I hesitate to suggest this, but something like Google Translate might be useful. Don't just post its output, but use that as the basis of your answer. Read it and understand what it produced so you can correct any mistakes it might have made.