中学生ですが三角関数を教えてください。
x × tanβ = (a + x) × tanα
は解くと、

  a × tanα
x = -------------
  tanβ - tanα

になるらしいのですが、どうしてかわかりません。
教えてください。