1と2を工夫して計算するらしいのですが、わからないのでヘルプミイです。
画像が無いのですが……
Users viewing this question are also looking at these questions 😉