Home Formula 3 Cassidy wins first Japanese F3 race at Motegi