/**
 * Given a tuple of coordinates, negates the value of each coordinate and returns the updated tuple.
 * Example: (45.2, -73.6) will return (-45.2, 73.6).
 */
fun negateCoordinates(coordTuple: Pair<Double, Double>): Pair<Double, Double> {

    // Using a map function, apply the unary minus operator to each coordinate in the tuple
    val negatedTuple = Pair(-coordTuple.first, -coordTuple.second)
    
    return negatedTuple
}

// Example usage
val degrees = Pair(45.2, -73.6)
/**
 * Given a tuple of coordinates, negates the value of each coordinate and returns the updated tuple.
 * Example: (45.2, -73.6) will return (-45.2, 73.6).
 */
fun negateCoordinates(coordTuple: Pair<Double, Double>): Pair<Double, Double> {
/**
 * Given a tuple of coordinates, negates the value of each coordinate and returns the updated tuple.
 * Example: (45.2, -73.6) will return (-45.2, 73.6).
 */
fun negateCoordinates(coordTuple: Pair<Double, Double>): Pair<Double, Double> {

    // Using a map function, apply the unary minus operator to each coordinate in the tuple
    val negatedTuple = Pair(-coordTuple.first, -coordTuple.second)
    
    return negatedTuple
}

// Example usage
val degrees = Pair(45.2, -73.6)