 
 <prompt> A cikin wata gida an dauki littafi da 30% a sama daga baya. Amma a lokacin sale, aka ba da 10% discount. Idan littafi ya fi $50, me ya sauka a cikin percent? <response>: ```Gida ta samu karin kudi na $50 x 30/100 = $15 a matsayin fa'idar da ta samu idan an ba shi 30% daga baya.
Sannan, littafin ya gudu da $50 + $15 = $65.
A lokacin wata ayyuka, sauran kudin littafi ya rage da $65 x 10/100 = $6.50.
Sannan, littafi ya gudu da $65 - $6.50 = $58.50.
Akalla ne $58.50 - $50 = $8.50 fa'ida bayan ayyuka.
Saboda haka, karin fa'ida shine $8.50/$50 x 100% = 17%.

Sakamakon haka: 17.``` 