2025 AMC 10A Problems/Problem 5

David is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is spedDavid is sped