A college student completed some courses worth 3 credits and some courses worth 4 credits. The student earned a total of 54 credits after completing a total of 16 courses.

How many courses worth 3 credits did the student complete?

Let x be the number of courses worth 3 credits completed by the student.

The number of courses worth 4 credits completed by the student would be 16 - x.

Then, the total number of credits earned can be calculated as:

3x + 4(16 - x) = 54
3x + 64 - 4x = 54
64 - x = 54
-x = -10
x = 10

So, the student completed 10 courses worth 3 credits.