numbers with the values 3, 7, 10, 5, 8.firstEven that takes a slice of integers as input and returns an integer.firstEven, use a for loop with index i and value num to iterate over the slice.if statement to check if num is even (divisible by 2). If yes, return num immediately.return -1.main, call firstEven(numbers) and print the returned value.