Mexico's state run oil company Pemex on Thursday posted 32.8 billion peso ($1.8 billion) profit in second quarter, helped by higher…