Alex has a certain number of apples. If he gives away 3 apples, he will have 10 apples left. How many apples did Alex have initially?
Formulate the equation to represent this situation and determine the total number of apples Alex started with.