Here the foci are on the x-axis
Therefore, the equation of the hyperbola is of the form x2a2−y2b2=1
Since the foci are (±3√5,0)⇒ae=c=±3√5
Length of latus rectum =8
⇒2b2a=8
⇒ b2=4a
We know that a2+b2=c2
∴a2+4a=45
⇒a2+4a−45=0
⇒a2+9a−5a−45=0
⇒(a+9)(a−5)=0
⇒a=−9,5
Since a in non-negative a=5
∴b2=4a=4×5=20
Thus the equation of the hyperbola is x225−y220=1