title: N Th Term Series 2 12 36 80 150
signature: pub fn n_th_term_series_2_12_36_80_150(n: i32) -> i32 {
test_code: use std::collections::HashMap;
  use std::collections::HashSet;
  use std::cmp::*;
  use std::collections::*;
  use std::fmt::*; 
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  pub fn validate_solution(actual: i32, expected: i32)->bool{
  return actual==expected
  }
  pub fn driver(n: i32, expected: i32)->String{
      if validate_solution(PLACEHOLDER_FN_NAME(n), expected) {
        return "PASSED".to_string();
      };
      return "FAILED".to_string();
  
  }
  
  fn main() {
      println!("TEST-0...{}", driver(
        90, 
        737100
      ));
      
      println!("TEST-1...{}", driver(
        95, 
        866400
      ));
      
      println!("TEST-2...{}", driver(
        22, 
        11132
      ));
      
      println!("TEST-3...{}", driver(
        29, 
        25230
      ));
      
      println!("TEST-4...{}", driver(
        62, 
        242172
      ));
      
      println!("TEST-5...{}", driver(
        40, 
        65600
      ));
      
      println!("TEST-6...{}", driver(
        52, 
        143312
      ));
      
      println!("TEST-7...{}", driver(
        21, 
        9702
      ));
      
      println!("TEST-8...{}", driver(
        33, 
        37026
      ));
      
      println!("TEST-9...{}", driver(
        11, 
        1452
      ));
      
  }
source_py: def n_th_term_series_2_12_36_80_150(n):
      return ((n * n) + ((n * n) * n))
source_cpp: int n_th_term_series_2_12_36_80_150(int n) {
    return ( n * n ) + ( n * n * n );
  }