Neither is linear , when a number is over your variable x it will not be linear , if the ten were beside it , it would be linear since that would be the slope but in this case it is above , and the second one wouldn’t either since neither x or y remains constant the entire time. Hope this helped !