It costs $10 to become a member at a movie rental store and $2 for each movie rented. Write an equation to determine the number of movies you rented if your total was $44. Use x ad the variable.​