/**
 * This exercise requires the engineer to create a tuple using parentheses and perform operations on integers.
 * The engineer needs to complete the code to multiply two numbers and return the sum of the results.
 *
 * @param num1 An integer number
 * @param num2 Another integer number
 * @return The sum of the products of num1 and num2 with 2, 3, and 4
 *
 * Example:
 * multiplyAndSum(5, 7) returns 135
 */
fun multiplyAndSum(num1: Int, num2: Int): Int {

    // Create a list to store the results
    val results = listOf(
        num1 * 2,  // Multiply num1 by 2
        num1 * 3,  // Multiply num1 by 3
        num1 * 4   // Multiply num1 by 4
    )

    // Perform operations on the results
    val resultSum = results.sum()

    return resultSum
}
/**
 * This exercise requires the engineer to create a tuple using parentheses and perform operations on integers.
 * The engineer needs to complete the code to multiply two numbers and return the sum of the results.
 *
 * @param num1 An integer number
 * @param num2 Another integer number
 * @return The sum of the products of num1 and num2 with 2, 3, and 4
 *
 * Example:
 * multiplyAndSum(5, 7) returns 135
 */
fun multiplyAndSum(num1: Int, num2: Int): Int {
/**
 * This exercise requires the engineer to create a tuple using parentheses and perform operations on integers.
 * The engineer needs to complete the code to multiply two numbers and return the sum of the results.
 *
 * @param num1 An integer number
 * @param num2 Another integer number
 * @return The sum of the products of num1 and num2 with 2, 3, and 4
 *
 * Example:
 * multiplyAndSum(5, 7) returns 135
 */
fun multiplyAndSum(num1: Int, num2: Int): Int {

    // Create a list to store the results
    val results = listOf(
        num1 * 2,  // Multiply num1 by 2
        num1 * 3,  // Multiply num1 by 3
        num1 * 4   // Multiply num1 by 4
    )

    // Perform operations on the results
    val resultSum = results.sum()

    return resultSum
}