Attention Geniuses

Can you solve these two Einstein math riddles?



We're not sure you are genius if you solve these two riddles above, but no one will argue that you're pretty smart if you solve them both.