/**
 * This function takes in four arguments: x1, y1, x2, y2, which represent two complex numbers in the form x1 + y1j and x2 + y2j respectively.
 * The function should return the product of the two complex numbers.
 */
fun multiplyComplexNumbers(x1: Int, y1: Int, x2: Int, y2: Int): Pair<Int, Int> {

    // Calculate the real and imaginary parts of the product
    val realPart = x1 * x2 - y1 * y2
    val imaginaryPart = x1 * y2 + x2 * y1

    // Return the product as a complex number
    return Pair(realPart, imaginaryPart)
}
/**
 * This function takes in four arguments: x1, y1, x2, y2, which represent two complex numbers in the form x1 + y1j and x2 + y2j respectively.
 * The function should return the product of the two complex numbers.
 */
fun multiplyComplexNumbers(x1: Int, y1: Int, x2: Int, y2: Int): Pair<Int, Int> {
/**
 * This function takes in four arguments: x1, y1, x2, y2, which represent two complex numbers in the form x1 + y1j and x2 + y2j respectively.
 * The function should return the product of the two complex numbers.
 */
fun multiplyComplexNumbers(x1: Int, y1: Int, x2: Int, y2: Int): Pair<Int, Int> {

    // Calculate the real and imaginary parts of the product
    val realPart = x1 * x2 - y1 * y2
    val imaginaryPart = x1 * y2 + x2 * y1

    // Return the product as a complex number
    return Pair(realPart, imaginaryPart)
}