✔ 最佳答案
Hi there,
First, please understand that we don't have such structure in Chinese, so it is better not to think in terms of Chinese sentence structure.
The second sentence is wrong because
'would beat' refers to the future [would + bare infinitive] (a possible future action) but 'if he knew that Tom was going to school' talks about the past.
First sentence:
means 'if he knew that Tom was going to school', he would have beaten Tom [would have + past participle] (a possible past action that he did not do). But he didn't beat Tom, because he didn't know that Tom was going to school.
Hope the explanation is useful.