To make the general question from the statement "He swam two miles last week," we need to form a question that can be answered with a simple yes or no. The original statement is in the past simple tense. Therefore, we will use the auxiliary verb "did" to form the question.
The general question would be:
Did he swim two miles last week?