2.	Computer A executes the MIPS ISA and has a 2.5Ghz clock frequency. : 2.	Computer A executes the MIPS ISA and has a 2.5Ghz clock frequency. Computer B executes the x86 and has a 3GHz clock frequency. On average, programs execute 1.5 times as many MIPS instructions than x86 instructions.  
a)	For Program P1, Computer A has a CPI of 2 and Computer B has a CPI of 3. Which computer is faster for P1? What is the speedup? 
b)	For Program P2, Computer A has a CPI of 1 and Computer B has a CPI of 2. Which computer is faster for P2? What is the speedup?



thanks in advance