a major arranges his soliders in rows to form a perfect square 40 soliders are left out if the total no. of soliders are 6281, find the no. of soliders in each rows ​