An arithmetic progression has \(5\) as its first term and\(45\) as its last term. If the sum of the series is \(400\). Calculate the total number of terms and the common difference.
Number of terms \(=\)
Common difference \(=\)
(Note: Enter the numbers in simplest form)