[5, 0, 1]: 2
[1, 3, 5]: 1
So either 5 or 1 is correct, but not both.
[4, 8, 3]: none.
[1, 6, 7]: 1
Because 1 is in the same place as it was before, but the "one correct" is in the wrong place, it cannot be a right number. This means that 5
(from earlier) is definitely the last number, and also one of either 6 or 7 is correct, but in the wrong place.
[4, 3, 0]:
We know from above that 4 and 3 are both wrong, and we deduced from the last step that 1 was not a number, meaning the first line shows us that 5 and 0 are both numbers, so this actually gives us no new information on which numbers, but does tell us that 0 is still in the wrong place.
This means that we have "0 x 5" with x being either 6 or 7. From the second-last line, we know that the correct number is in the wrong place, so it can't be 6 (which was in the middle).
The final answer is: 0 7 5.