From optimism and pessimism to coping: The mediating role of academic motivation. · Study