Your problem statement says that the difference between 3 times the number and 5 times the number is 10. We also know the difference between 3 times the number and 5 times the number is 2 times the number.
If 2 times the number is 10, the number is 5.
If 2 times the number is 10, the number is 5.