Due to the fact that they are vertical angles each side have to equal 40 because one side is already given so.... we set the numbers equal to each other:
40=x/6
Then we multiply each side by 6 because we want to get x by its self because that is what we are looking for: