I’m new to this app and I need help with those two questions please help!!

y=x²-10x-7
a>0 so we will be looking for minimum
x=-b/2a=10/2=5
y=25-50-7=-32
Answer: (5;32)
y=-4x²-8x+1
а<0 so we will be looking for maximum
х=-b/2a=8/-8=-1
у=4+8+1=13
Maximum point (-1;13)