/**
 * Given a list of fire hose lengths in feet and a number to multiply each hose length by,
 * calculate the new lengths after multiplying each element in the list by the given number.
 *
 * @param hoseLengths list of floating-point numbers representing fire hose lengths in feet
 * @param multiplyBy floating-point number to multiply each hose length by
 * @return list of floating-point numbers representing new fire hose lengths after multiplication
 */
fun calculateFireHoseLength(hoseLengths: List<Double>, multiplyBy: Double): List<Double> {

    return hoseLengths.map { it * multiplyBy }
}
/**
 * Given a list of fire hose lengths in feet and a number to multiply each hose length by,
 * calculate the new lengths after multiplying each element in the list by the given number.
 *
 * @param hoseLengths list of floating-point numbers representing fire hose lengths in feet
 * @param multiplyBy floating-point number to multiply each hose length by
 * @return list of floating-point numbers representing new fire hose lengths after multiplication
 */
fun calculateFireHoseLength(hoseLengths: List<Double>, multiplyBy: Double): List<Double> {
/**
 * Given a list of fire hose lengths in feet and a number to multiply each hose length by,
 * calculate the new lengths after multiplying each element in the list by the given number.
 *
 * @param hoseLengths list of floating-point numbers representing fire hose lengths in feet
 * @param multiplyBy floating-point number to multiply each hose length by
 * @return list of floating-point numbers representing new fire hose lengths after multiplication
 */
fun calculateFireHoseLength(hoseLengths: List<Double>, multiplyBy: Double): List<Double> {

    return hoseLengths.map { it * multiplyBy }
}