How to display 2 function calls in same line?

Put the two functions on same line, like this:

<?php the_author_posts_link(); ?> <?php the_time('g:i a'); ?>

If this doesn’t work, first get the values and then output them, like this:

<?php
    $author_name = get_author();
    $author_link = get_author_posts_url( get_the_author_meta( 'ID' ) );
    $post_time   = get_the_time('g:i a');
?>
<p>
    <a href="https://wordpress.stackexchange.com/questions/166166/<?php echo $author_link; ?>" title="<?php echo $author_name; ?>"><?php echo $author_name; ?></a> <?php echo $post_time; ?>
</p>