3548: One digit is correct but in the wrong position.
4671: Only one is in the correct position.
3781: Two digits are correct but both are in the wrong positions.
5124: All of the digits are wrong.
2934: One digit is correct but in the wrong position.